RequestOptions

Options describing how an @see \io\vertx\jphp\core\http\HttpClient will make connect to make a request.

package

Default

Methods

RequestOptions constructor

__construct( $requestOptions = null) 

Arguments

$requestOptions

mixed | null

getHost

getHost() : string

Response

string

getPort

getPort() : integer

Response

integer

getURI

getURI() : string

Response

string

isSsl

isSsl() : boolean

Response

boolean

setHost

setHost( $host) : $this

Arguments

$host

string

Response

$this

setPort

setPort( $port) : $this

Arguments

$port

integer

Response

$this

setSsl

setSsl( $ssl) : $this

Arguments

$ssl

boolean

Response

$this

setURI

setURI( $uri) : $this

Arguments

$uri

string

Response

$this