Метод |
Описание |
|
__construct ( Config $config = null, Http\Client\Common\HttpMethodsClient $client = null ) |
Constructor. |
|
__get ( string $name ) : object |
Create required services on the fly. |
|
getClient ( ) : Http\Client\Common\HttpMethodsClient | null |
Get client. |
|
getConfig ( ) : Config |
Get config. |
|
request ( string $method, string $uri, array $headers = [], string | Psr\Http\Message\StreamInterface | null $body = null ) : array |
Make a custom api request. |
|
setClient ( Http\Client\Common\HttpMethodsClient $client ) |
Set client. |
|
setConfig ( Config $config ) |
Set config. |
|