ProxyOptions

Proxy options for a net client or a net client.

package

Default

Methods

ProxyOptions constructor

__construct( $proxyOptions = null) 

Arguments

$proxyOptions

mixed | null

getHost

getHost() : string

Response

string

getPassword

getPassword() : string

Response

string

getPort

getPort() : integer

Response

integer

getType

getType() : string

Response

string

getUsername

getUsername() : string

Response

string

setHost

setHost( $host) : $this

Arguments

$host

string

Response

$this

setPassword

setPassword( $password) : $this

Arguments

$password

string

Response

$this

setPort

setPort( $port) : $this

Arguments

$port

integer

Response

$this

setType

setType( $type) : $this

Arguments

$type

string

Response

$this

setUsername

setUsername( $username) : $this

Arguments

$username

string

Response

$this