abstract class RequestAgent

Constants

API_URL

Properties

protected string $querySignature
protected string $queryString
protected mixed $rawResponse Raw response received from API
protected string|array|null $response Trimmed/Decoded/Smth response

Methods

mixed
execute()

No description

mixed
query()

No description

handleResponse()

No description

string
getQuerySignature()

No description

setQuerySignature(string $querySignature)

No description

string
getQueryString()

No description

setQueryString(string $queryString)

No description

mixed
getRawResponse()

No description

mixed
getResponse()

No description

Details

at line 38
mixed execute()

Return Value

mixed

Exceptions

RequestException

at line 48
protected mixed query()

Return Value

mixed

Exceptions

RequestException

at line 57
protected handleResponse()

at line 76
string getQuerySignature()

Return Value

string

at line 84
setQuerySignature(string $querySignature)

Parameters

string $querySignature

at line 92
string getQueryString()

Return Value

string

at line 100
setQueryString(string $queryString)

Parameters

string $queryString

at line 108
mixed getRawResponse()

Return Value

mixed

at line 117
mixed getResponse()

Return Value

mixed