GuzzleService
Table of Contents
Properties
-
$client
: Client|null
Methods
-
getAsync()
: PromiseInterface
-
getClient()
: Client
-
postAsync()
: PromiseInterface
$client
private
static Client|null
$client
= null
getAsync()
public
getAsync(string $uri[, array<string|int, mixed> $options = [] ]) : PromiseInterface
Parameters
-
$uri
: string
-
-
$options
: array<string|int, mixed>
= []
-
Return values
PromiseInterface
getClient()
public
getClient() : Client
postAsync()
public
postAsync(string $uri[, array<string|int, mixed> $options = [] ]) : PromiseInterface
Parameters
-
$uri
: string
-
-
$options
: array<string|int, mixed>
= []
-
Return values
PromiseInterface