Aerys\VhostContainer classVhostContainer implementsCountable, Aerys\Monitor

Summary

Properties

Methods

Properties

Methods

__construct —public function__construct(Aerys\HttpDriver$driver)
No documentation.
Type Parameter Description Default Value
Aerys\HttpDriver $driver No documentation. none
use —public functionuse(Aerys\Vhost$vhost):void

Add a virtual host to the collection

Type Parameter Description Default Value
Aerys\Vhost $vhost No documentation. none
setupHttpDrivers —public functionsetupHttpDrivers(...$args)
No documentation.
Type Parameter Description Default Value
mixed ... $args No documentation. none
selectHttpDriver —public functionselectHttpDriver($address,$port)

Select the suited HttpDriver instance, filtered by address and port pair

Type Parameter Description Default Value
mixed $address No documentation. none
mixed $port No documentation. none
selectHost —public functionselectHost(Aerys\InternalRequest$ireq):Aerys\Vhost|null

Select a virtual host match for the specified request according to RFC 7230 criteria

Type Parameter Description Default Value
Aerys\InternalRequest $ireq No documentation. none
getDefaultHost —public functiongetDefaultHost():Aerys\Vhost

Retrieve the group's default host

getBindableAddresses —public functiongetBindableAddresses():array

Retrieve an array of unique socket addresses on which hosts should listen

getTlsBindingsByAddress —public functiongetTlsBindingsByAddress():array

Retrieve stream encryption settings by bind address

count —public functioncount()
No documentation.
__debugInfo —public function__debugInfo()
No documentation.
monitor —public functionmonitor():array
No documentation.