Aerys\Vhost classVhost implementsAerys\Monitor

Summary

Properties

Methods

Properties

Methods

__construct —public function__construct(string$name,array$interfaces,callable$application,array$filters,array$monitors =[],Aerys\HttpDriver$driver =null)
No documentation.
Type Parameter Description Default Value
string $name No documentation. none
array $interfaces No documentation. none
callable $application No documentation. none
array $filters No documentation. none
array $monitors No documentation. []
Aerys\HttpDriver $driver No documentation. null
getIds —public functiongetIds():array
No documentation.
getInterfaces —public functiongetInterfaces():array
No documentation.
getBindableAddresses —public functiongetBindableAddresses():array

Retrieve the URIs on which this host should be bound

getName —public functiongetName():string

Retrieve the host's name (may be an empty string)

getApplication —public functiongetApplication():callable

Retrieve the host's callable application

getPorts —public functiongetPorts(string$address):array
No documentation.
Type Parameter Description Default Value
string $address No documentation. none
getHttpDriver —public functiongetHttpDriver()
No documentation.
hasName —public functionhasName():bool

Does this host have a name?

isEncrypted —public functionisEncrypted():bool

Has this host been assigned a TLS encryption context?

setCrypto —public functionsetCrypto(array$tls):void

Define TLS encryption settings for this host

Type Parameter Description Default Value
array $tls An array mapping TLS stream context values none
getTlsContextArr —public functiongetTlsContextArr():array

Retrieve this host's TLS connection context options

getFilters —public functiongetFilters():array

Retrieve filters registered for this host

__toString —public function__toString():string

Returns the host name

__debugInfo —public function__debugInfo():array

Simplify debug output

monitor —public functionmonitor():array
No documentation.