HttpLocation

Represents the location of a HTTP endpoint. This object (its json representation) will be used as "location" in a service record.

package

Default

Methods

HttpLocation constructor

__construct( $httpLocation = null) 

Arguments

$httpLocation

mixed | null

getEndpoint

getEndpoint() : string

Response

string

getHost

getHost() : string

Response

string

getPort

getPort() : integer

Response

integer

getRoot

getRoot() : string

Response

string

isSsl

isSsl() : boolean

Response

boolean

setEndpoint

setEndpoint( $endpoint) : $this

Arguments

$endpoint

string

Response

$this

setHost

setHost( $host) : $this

Arguments

$host

string

Response

$this

setPort

setPort( $port) : $this

Arguments

$port

integer

Response

$this

setRoot

setRoot( $root) : $this

Arguments

$root

string

Response

$this

setSsl

setSsl( $ssl) : $this

Arguments

$ssl

boolean

Response

$this