src/Request.php
public function setPort($port)
    {
        if ($port != $this->_port) {
            $this->_port = (int)$port;
            $this->_hostInfo = null;
        }
        return $this;
    }
public function setPort($port)
    {
        if ($port != $this->_port) {
            $this->_port = (int)$port;
            $this->_hostInfo = null;
        }
        return $this;
    }
public function setPort ( $ port ) { if ( $ port != $ this -> _port ) { $ this -> _port = ( int ) $ port ; $ this -> _hostInfo = null ; } return $ this ; }
Sets the port to use for insecure requests.
This setter is provided in case a custom port is necessary for certain
server configurations.
@param integer $port port number.
@return $this
Sets the port to use for insecure requests . This setter is provided in case a custom port is necessary for certain server configurations .