Client interface for sending HTTP requests.
Methods |
public
delete
(
$uri
,
array
$options
=
[
]
) :
Psr\Http\Message\ResponseInterface
Create and send an HTTP DELETE request. Use an absolute path to override the base path of the client, or a
|
public
deleteAsync
(
$uri
,
array
$options
=
[
]
) :
GuzzleHttp\Promise\PromiseInterface
Create and send an asynchronous HTTP DELETE request. Use an absolute path to override the base path of the client, or a |
public
get
(
$uri
,
array
$options
=
[
]
) :
Psr\Http\Message\ResponseInterface
Create and send an HTTP GET request. Use an absolute path to override the base path of the client, or a
|
public
getAsync
(
$uri
,
array
$options
=
[
]
) :
GuzzleHttp\Promise\PromiseInterface
Create and send an asynchronous HTTP GET request. Use an absolute path to override the base path of the client, or a |
public
head
(
$uri
,
array
$options
=
[
]
) :
Psr\Http\Message\ResponseInterface
Create and send an HTTP HEAD request. Use an absolute path to override the base path of the client, or a
|
public
headAsync
(
$uri
,
array
$options
=
[
]
) :
GuzzleHttp\Promise\PromiseInterface
Create and send an asynchronous HTTP HEAD request. Use an absolute path to override the base path of the client, or a |
public
patch
(
$uri
,
array
$options
=
[
]
) :
Psr\Http\Message\ResponseInterface
Create and send an HTTP PATCH request. Use an absolute path to override the base path of the client, or a
|
public
patchAsync
(
$uri
,
array
$options
=
[
]
) :
GuzzleHttp\Promise\PromiseInterface
Create and send an asynchronous HTTP PATCH request. Use an absolute path to override the base path of the client, or a |
public
post
(
$uri
,
array
$options
=
[
]
) :
Psr\Http\Message\ResponseInterface
Create and send an HTTP POST request. Use an absolute path to override the base path of the client, or a
|
public
postAsync
(
$uri
,
array
$options
=
[
]
) :
GuzzleHttp\Promise\PromiseInterface
Create and send an asynchronous HTTP POST request. Use an absolute path to override the base path of the client, or a |
public
put
(
$uri
,
array
$options
=
[
]
) :
Psr\Http\Message\ResponseInterface
Create and send an HTTP PUT request. Use an absolute path to override the base path of the client, or a
|
public
putAsync
(
$uri
,
array
$options
=
[
]
) :
GuzzleHttp\Promise\PromiseInterface
Create and send an asynchronous HTTP PUT request. Use an absolute path to override the base path of the client, or a |
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\Promise\PromiseInterface
Create and send an asynchronous HTTP request. Use an absolute path to override the base path of the client, or a |