You are here

public function ClientInterface::sendAsync in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/guzzle/src/ClientInterface.php \GuzzleHttp\ClientInterface::sendAsync()

Asynchronously send an HTTP request.

Parameters

RequestInterface $request Request to send:

array $options Request options to apply to the given: request and to the transfer.

Return value

PromiseInterface

1 method overrides ClientInterface::sendAsync()
Client::sendAsync in vendor/guzzlehttp/guzzle/src/Client.php
Asynchronously send an HTTP request.

File

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

Class

ClientInterface
Client interface for sending HTTP requests.

Namespace

GuzzleHttp

Code

public function sendAsync(RequestInterface $request, array $options = []);