Get the full URL of the request (e.g. 'http://www.guzzle-project.com/') scheme://username:password@domain:port/path?query_string#fragment
bool $asObject Set to TRUE to retrieve the URL as a clone of the URL object owned by the request.:
string|Url
public function getUrl($asObject = false);