public function RequestInterface::setPort

Set the port that the request will be sent on

Parameters

int $port Port number to set:

Return value

RequestInterface

1 method overrides RequestInterface::setPort()
Request::setPort in drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Request.php
Set the port that the request will be sent on

File

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

Class

RequestInterface
Generic HTTP request interface

Namespace

Guzzle\Http\Message

Code

public function setPort($port);