You are here

public function ClientInterface::request in Zircon Profile 8

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

Create and send an 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.

Parameters

string $method HTTP method:

string|UriInterface $uri URI object or string.:

array $options Request options to apply.:

Return value

ResponseInterface

Throws

GuzzleException

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

File

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

Class

ClientInterface
Client interface for sending HTTP requests.

Namespace

GuzzleHttp

Code

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