You are here

public function ClientInterface::requestAsync in Lockr 7.3

Create and send an asynchronous HTTP request.

Use an absolute path to override the base path of the client, or a relative path to append to the base path of the client. The URL can contain the query string as well. Use an array to provide a URL template and additional variables to use in the URL template expansion.

Parameters

string $method HTTP method:

string|UriInterface $uri URI object or string.:

array $options Request options to apply.:

Return value

PromiseInterface

1 method overrides ClientInterface::requestAsync()
Client::requestAsync in vendor/guzzlehttp/guzzle/src/Client.php
Create and send an asynchronous HTTP request.

File

vendor/guzzlehttp/guzzle/src/ClientInterface.php, line 70

Class

ClientInterface
Client interface for sending HTTP requests.

Namespace

GuzzleHttp

Code

public function requestAsync($method, $uri, array $options = []);