public function RequestInterface::getUrl

Get the full URL of the request (e.g. 'http://www.guzzle-project.com/') scheme://username:password@domain:port/path?query_string#fragment

Parameters

bool $asObject Set to TRUE to retrieve the URL as a clone of the URL object owned by the request.:

Return value

string|Url

1 method overrides RequestInterface::getUrl()
Request::getUrl in drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Request.php
Get the full URL of the request (e.g. 'http://www.guzzle-project.com/') scheme://username:password@domain:port/path?query_string#fragment

File

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

Class

RequestInterface
Generic HTTP request interface

Namespace

Guzzle\Http\Message

Code

public function getUrl($asObject = false);