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
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);