public function ClientInterface::getBaseUrl

Get the client's base URL as either an expanded or raw URI template

Parameters

bool $expand Set to FALSE to get the raw base URL without URI template expansion:

Return value

string|null

1 method overrides ClientInterface::getBaseUrl()
Client::getBaseUrl in drupal/core/vendor/guzzle/http/Guzzle/Http/Client.php
Get the client's base URL as either an expanded or raw URI template

File

drupal/core/vendor/guzzle/http/Guzzle/Http/ClientInterface.php, line 130

Class

ClientInterface
Client interface for send HTTP requests

Namespace

Guzzle\Http

Code

public function getBaseUrl($expand = true);