Host
| Module | ejs.web |
| Namespace | "ejs.web" |
| Definition | final class Host |
| Inheritance | Host Object |
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
| Qualifiers | Property | Type | Description |
|---|---|---|---|
| public | documentRoot | String | Home directory for the web documents. |
| public | isNamedVirtualHost | Boolean | Set if the host is a named virtual host. |
| public | isVirtualHost | Boolean | Set if the host is a virtual host. |
| public | logErrors | Boolean | Log errors to the application log. |
| public | name | String | Fully qualified name of the server. Should be of the form (http://name[:port]). |
| public | protocol | String | Host protocol (http or https). |
| public | software | String | Server software description. |
Host Methods
| Qualifiers | Method |
|---|---|
| Host() |
Method Detail
Host()