GuzzleClientAdapter
in package
implements
HttpClientAdapterInterface
Http client
Table of Contents
Interfaces
- HttpClientAdapterInterface
- Http Client Interface
Properties
- $client : Client
- Http client
Methods
- __construct() : mixed
- Constructor
- request() : ResponseInterface
- Create and send an HTTP request.
Properties
$client
Http client
private
Client
$client
Methods
__construct()
Constructor
public
__construct() : mixed
request()
Create and send an HTTP request.
public
request(string $method, string|UriInterface $uri[, array<string|int, mixed> $options = [] ]) : ResponseInterface
Parameters
- $method : string
-
HTTP method.
- $uri : string|UriInterface
-
URI object or string.
- $options : array<string|int, mixed> = []
-
Request options to apply.