Set the host of the request. Including a port in the host will modify
the port of the request.
Parameters
string $host Host to set (e.g. www.yahoo.com, www.yahoo.com:80):
Return value
RequestInterface
File
- drupal/core/vendor/guzzle/http/Guzzle/Http/Message/RequestInterface.php, line 130
Class
- RequestInterface
- Generic HTTP request interface
Namespace
Guzzle\Http\Message
Code
public function setHost($host);