public function Client::options

Create an OPTIONS request for the client

Parameters

string|array $uri Resource URI:

Return value

RequestInterface

Overrides ClientInterface::options

See also

Guzzle\Http\ClientInterface::createRequest()

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Client.php, line 342

Class

Client
HTTP client

Namespace

Guzzle\Http

Code

public function options($uri = null) {
  return $this
    ->createRequest('OPTIONS', $uri);
}