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(ServerRequestInterface $request)

Sends the given HTTP request

Details

ResponseInterface sendRequest(ServerRequestInterface $request)

Sends the given HTTP request

Parameters

ServerRequestInterface $request

Return Value

ResponseInterface

Exceptions

Exception