public function ClientInterface::head

Create a HEAD request for the client

Parameters

string|array $uri Resource URI:

array|Collection $headers HTTP headers:

Return value

RequestInterface

See also

Guzzle\Http\ClientInterface::createRequest()

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

File

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

Class

ClientInterface
Client interface for send HTTP requests

Namespace

Guzzle\Http

Code

public function head($uri = null, $headers = null);