Specifies a basic client that provides service to run command at api server .
| package | Ant\ChateaClient\Service\Client |
|---|---|
| see | |
| see | |
| see |
factory(array $config) : \Ant\ChateaClient\Service\Client\ChateaGratisAppClient | \Guzzle\Service\Client
arrayAssociative array can configure the client. The parameters are: access_token The credentilas of client. This parameter is required base_url The server endpoind url. This parameter is optional Accept The accept header, default value is json. This parameter is optional environment Set mode production [prod] or developing [dev] default value is prod. This parameter is optional scheme Set server schema communication [http|https] for default https. This parameter is optional subdomain Set server subdomain if this exist. For default is api. This parameter is optional
updateAccessToken(string $access_token)
stringThe token you put in header