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

Breadcrumb

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

function ClientInterface::send

Send an HTTP request.

Parameters

RequestInterface $request Request to send:

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

Throws

GuzzleException

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

File

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

Class

ClientInterface
Client interface for sending HTTP requests.

Namespace

GuzzleHttp

Code

public function send(RequestInterface $request, array $options = []) : ResponseInterface;

API Navigation

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