Table of Contents
Methods
-
__construct()
: mixed
-
callExternalMethod()
: HttpRequestResult
-
setApiKey()
: self
__construct()
public
__construct(string|null $apiKey, string $apiEndpoint[, int $socketTimeout = 10 ][, int $streamTimeout = 30 ]) : mixed
Parameters
-
$apiKey
: string|null
-
-
$apiEndpoint
: string
-
-
$socketTimeout
: int
= 10
-
-
$streamTimeout
: int
= 30
-
callExternalMethod()
public
callExternalMethod(string $method[, array<string|int, mixed>|null $requestParams = null ][, string $httpMethod = '' ]) : HttpRequestResult
Parameters
-
$method
: string
-
-
$requestParams
: array<string|int, mixed>|null
= null
-
-
$httpMethod
: string
= ''
-
setApiKey()
public
setApiKey(string $apiKey) : self
Parameters
-
$apiKey
: string
-