public function RequestInterface::setPath

Set the path of the request (e.g. '/', '/index.html')

Parameters

string|array $path Path to set or array of segments to implode:

Return value

RequestInterface

1 method overrides RequestInterface::setPath()
Request::setPath in drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Request.php
Set the path of the request (e.g. '/', '/index.html')

File

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

Class

RequestInterface
Generic HTTP request interface

Namespace

Guzzle\Http\Message

Code

public function setPath($path);