Aerys\VhostContainer class VhostContainer implements Countable, 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 function use(Aerys\Vhost $vhost): void

Add a virtual host to the collection

Type Parameter Description Default Value
Aerys\Vhost $vhost No documentation. none
setupHttpDrivers — public function setupHttpDrivers(...$args)
No documentation.
Type Parameter Description Default Value
mixed ... $args No documentation. none
selectHttpDriver — public function selectHttpDriver($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 function selectHost(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 function getDefaultHost(): Aerys\Vhost

Retrieve the group's default host

getBindableAddresses — public function getBindableAddresses(): array

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

getTlsBindingsByAddress — public function getTlsBindingsByAddress(): array

Retrieve stream encryption settings by bind address

count — public function count()
No documentation.
__debugInfo — public function __debugInfo()
No documentation.
monitor — public function monitor(): array
No documentation.