Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Client.php

function Client::sendAsyncRequest

Overrides HttpAsyncClient::sendAsyncRequest

File

vendor/php-http/guzzle7-adapter/src/Client.php, line 51

Class

Client
HTTP Adapter for Guzzle 7.

Namespace

Http\Adapter\Guzzle7

Code

public function sendAsyncRequest(RequestInterface $request) {
    $promise = $this->guzzle
        ->sendAsync($request);
    return new Promise($promise, $request);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal