Host

Moduleejs.web
Definitionfinal class Host
InheritanceHost inherit Object
Specifiedejscript-1.1
StabilityPrototype.

Web server host information.

The server array stores information that typically does not vary from request to request. For a given virtual server, these data items will be constant across all requests.


Properties

QualifiersPropertyTypeDescription
public documentRootStringHome directory for the web documents.
public isNamedVirtualHostBooleanSet if the host is a named virtual host.
public isVirtualHostBooleanSet if the host is a virtual host.
public logErrorsBooleanLog errors to the application log.
public nameStringFully qualified name of the server. Should be of the form (http://name[:port]).
public protocolStringHost protocol (http or https).
public softwareStringServer software description.

Host Methods

QualifiersMethod
Host()

Method Detail