nitcorn :: ServerConfig :: default_virtual_host
DefaultVirtualHost
to respond to requests not handled by any of the virtual_hosts
nitcorn :: ServerConfig :: default_virtual_host=
DefaultVirtualHost
to respond to requests not handled by any of the virtual_hosts
nitcorn :: ServerConfig :: defaultinit
nitcorn :: ServerConfig :: virtual_hosts
VirtualHost
s served by this server
nitcorn :: ServerConfig :: virtual_hosts=
VirtualHost
s served by this server
nitcorn $ ServerConfig :: SELF
Type of this instance, automatically specialized in every classcore :: Object :: class_factory
Implementation used byget_class
to create the specific class.
nitcorn :: ServerConfig :: default_virtual_host
DefaultVirtualHost
to respond to requests not handled by any of the virtual_hosts
nitcorn :: ServerConfig :: default_virtual_host=
DefaultVirtualHost
to respond to requests not handled by any of the virtual_hosts
nitcorn :: ServerConfig :: defaultinit
core :: Object :: defaultinit
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: output_class_name
Display class name on stdout (debug only).nitcorn :: ServerConfig :: virtual_hosts
VirtualHost
s served by this server
nitcorn :: ServerConfig :: virtual_hosts=
VirtualHost
s served by this server
# Server instance configuration
class ServerConfig
# `VirtualHost`s served by this server
var virtual_hosts = new VirtualHosts(self)
# Default `VirtualHost` to respond to requests not handled by any of the `virtual_hosts`
var default_virtual_host: nullable VirtualHost = null is writable
end
lib/nitcorn/server_config.nit:22,1--29,3
redef class ServerConfig
# Handle to retreive the `HttpFactory` on config change
private var factory: HttpFactory is noinit
private init with_factory(factory: HttpFactory) do self.factory = factory
end
lib/nitcorn/reactor.nit:155,1--160,3