public function Client::setBaseUrl

Set the base URL of the client

Parameters

string $url The base service endpoint URL of the webservice:

Return value

ClientInterface

Overrides ClientInterface::setBaseUrl

1 call to Client::setBaseUrl()
Client::__construct in drupal/core/vendor/guzzle/http/Guzzle/Http/Client.php
Client constructor

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Client.php, line 280

Class

Client
HTTP client

Namespace

Guzzle\Http

Code

public function setBaseUrl($url) {
  $this->baseUrl = $url;
  return $this;
}