interface HttpClientAdapterInterface

Http Client Interface

Methods

ResponseInterface
request(string $method, string|UriInterface $uri, array $options = [])

Create and send an HTTP request.

Details

at line 26
ResponseInterface request(string $method, string|UriInterface $uri, array $options = [])

Create and send an HTTP request.

Parameters

string $method HTTP method.
string|UriInterface $uri URI object or string.
array $options Request options to apply.

Return Value

ResponseInterface