class Requester

Methods

__construct(Client $client, string $api, string $exceptionNamespace = \null)

ApiRequester constructor.

sendRequest(RequestInterface $request)

Queries the API, and returns a message object which contains all information needed for processing and logging.

Details

at line 43
__construct(Client $client, string $api, string $exceptionNamespace = \null)

ApiRequester constructor.

Parameters

Client $client
string $api
string $exceptionNamespace

at line 58
Message sendRequest(RequestInterface $request)

Queries the API, and returns a message object which contains all information needed for processing and logging.

Parameters

RequestInterface $request

Return Value

Message