public function RequestInterface::setUrl

Set the URL of the request

Warning: Calling this method will modify headers, rewrite the query string object, and set other data associated with the request.

Parameters

string $url|Url Full URL to set including query string:

Return value

RequestInterface

1 method overrides RequestInterface::setUrl()
Request::setUrl in drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Request.php
Set the URL of the request

File

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

Class

RequestInterface
Generic HTTP request interface

Namespace

Guzzle\Http\Message

Code

public function setUrl($url);