WebConfig

Web configurations.

Members

Variables

accessLogToConsole
bool accessLogToConsole;

Boolean determining whether the access log should be redirected to the console.

addresses
WebAddress[] addresses;

An array of addresses the web application is accessible by.

allowFileRoute
bool allowFileRoute;

Boolean determining whether views can be accessed by their file name.

dbConnections
WebDbConnections dbConnections;

A collection of db connection configurations.

defaultHeaders
WebHeaders defaultHeaders;

The default headers the web application uses.

globalRestrictedIPs
string[] globalRestrictedIPs;

An array of global restricted ip addresses.

homeRoute
string homeRoute;

The route that's mapped to the home page.

maintenance
string maintenance;

A static web-page to display for maintenance. When specified the website will automatically be set to maintenance-mode.

maintenanceWhiteList
string[] maintenanceWhiteList;

An array of ips that can still access the site during maintenance.

name
string name;

The name of the web application.

restrictedIPs
string[] restrictedIPs;

An array of restricted ip addresses.

sessionAliveTime
long sessionAliveTime;

The time sessions are stored in memory.

shouldCacheViews
bool shouldCacheViews;

Boolean determnining whether views can be cached or not.

specialRouteSplitter
string specialRouteSplitter;
Undocumented in source.
specializedRoutes
WebSpecialRoute[string] specializedRoutes;

Tn associative array of specialized routes.

staticFileRoutes
string[] staticFileRoutes;

The routes that are mapped to static files.

viewOnly
bool viewOnly;

Boolean determining whethere there's only one view to use for routing. The view must be named __view.dd

Meta