public function ClientInterface::get

Create a GET request for the client

Parameters

string|array $uri Resource URI:

array|Collection $headers HTTP headers:

string|resource|array|EntityBodyInterface $body Where to store the response entity body:

Return value

RequestInterface

See also

Guzzle\Http\ClientInterface::createRequest()

1 method overrides ClientInterface::get()
Client::get in drupal/core/vendor/guzzle/http/Guzzle/Http/Client.php
Create a GET request for the client

File

drupal/core/vendor/guzzle/http/Guzzle/Http/ClientInterface.php, line 162

Class

ClientInterface
Client interface for send HTTP requests

Namespace

Guzzle\Http

Code

public function get($uri = null, $headers = null, $body = null);