class PersistentCurl extends RequestAgent

Constants

API_URL

Properties

protected string $querySignature from RequestAgent
protected string $queryString from RequestAgent
protected mixed $rawResponse Raw response received from API from RequestAgent
protected string|array|null $response Trimmed/Decoded/Smth response from RequestAgent
protected int $requestCounter
protected int $requestLimit Max number of request
protected int $throttleTimeout Request throttling in seconds

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

in RequestAgent at line 38
mixed execute()

Return Value

mixed

Exceptions

RequestException

at line 30
mixed query()

Return Value

mixed

Exceptions

RequestException

in RequestAgent at line 57
protected handleResponse()

in RequestAgent at line 76
string getQuerySignature()

Return Value

string

in RequestAgent at line 84
setQuerySignature(string $querySignature)

Parameters

string $querySignature

in RequestAgent at line 92
string getQueryString()

Return Value

string

in RequestAgent at line 100
setQueryString(string $queryString)

Parameters

string $queryString

in RequestAgent at line 108
mixed getRawResponse()

Return Value

mixed

in RequestAgent at line 117
mixed getResponse()

Return Value

mixed