HTTPServerContext.addVirtualHost

Adds a single virtual host.

Note that the port and bind address defined in settings must match the ones for this listener. The settings.host field must be unique for all virtual hosts.

class HTTPServerContext
@safe
size_t
addVirtualHost

Return Value

Type: size_t

Returns a unique ID for the new virtual host

Meta