interface RequestEngineInterface (View source)

Interface for a Request Engine which can be used by a HTTP Client implementation for sending requests and returning responses.

Methods

ResponseInterface
sendRequest(RequestInterface $request)

Sends the given HTTP request

Details

ResponseInterface sendRequest(RequestInterface $request)

Sends the given HTTP request

Parameters

RequestInterface $request

Return Value

ResponseInterface

Exceptions

Exception