Client
class Client extends Client implements APIClient
Traits
Macroable
Constants
BASE_URI |
|
Properties
protected GuzzleClient | $client | from Client | |
protected | $connection |
Methods
__construct(array $options = [])
No description
string|null
getConnectionName()
No description
setConnectionName(string|null $connection)
No description
static
connection($connection = 'default')
No description
static
withCredentials($credentials)
No description
setCredentials(array $options = [])
No description
GuzzleClient
getGuzzleInstance()
Returns the raw internal Guzzle instance
Details
in
ParsesResponse at line 13
protected mixed
parseResponse(ResponseInterface $response, $assoc = false)
at line 56
__construct(array $options = [])
in
Client at line 28
protected
buildPayload($payload)
in
Client at line 37
ResponseInterface
getRaw(string $url)
in
Client at line 48
mixed
get(string $url, bool $assoc = false)
in
Client at line 58
ResponseInterface
putRaw(string $url, array|null $payload)
in
Client at line 70
mixed
put(string $url, array $payload = [], bool $assoc = false)
in
Client at line 80
ResponseInterface
postRaw(string $url, array|null $payload)
in
Client at line 92
mixed
post(string $url, array $payload = [], bool $assoc = false)
in
Client at line 101
ResponseInterface
deleteRaw(string $url)
in
Client at line 111
mixed
delete(string $url, $assoc = false)
at line 23
string|null
getConnectionName()
at line 32
APIClient
setConnectionName(string|null $connection)
at line 41
static
connection($connection = 'default')
at line 46
static
withCredentials($credentials)
at line 62
setCredentials(array $options = [])
at line 81
GuzzleClient
getGuzzleInstance()
Returns the raw internal Guzzle instance