Client interface for sending HTTP requests.
Constants |
public
GuzzleHttp The Guzzle major version. |
Methods |
public
abstract
getConfig
(
?
string
$option
=
NULL
) Get a client configuration option. These options include default request options of the client, a "handler"
|
public
abstract
request
(
string
$method
,
$uri
,
array
$options
=
[
]
) :
Psr\Http\Message\ResponseInterface
Create and send an HTTP request. Use an absolute path to override the base path of the client, or a
|
public
abstract
requestAsync
(
string
$method
,
$uri
,
array
$options
=
[
]
) :
GuzzleHttp Create and send an asynchronous HTTP request. Use an absolute path to override the base path of the client, or a
|
public
abstract
send
(
Psr\Http\Message\RequestInterface
$request
,
array
$options
=
[
]
) :
Psr\Http\Message\ResponseInterface
Send an HTTP request.
|
public
abstract
sendAsync
(
Psr\Http\Message\RequestInterface
$request
,
array
$options
=
[
]
) :
GuzzleHttp Asynchronously send an HTTP request.
|