Extracted at 2014-06-26.
pike.ida.liu.se
[Top]
Fins
Fins.StaticController

Class Fins.StaticController

Description

a controller that serves a directory of static content.

Note

it's not necessary (and not very useful) to load a static controller with load_controller ().

Example

// in this example, mystaticdir will be served from the "foo" mountpoint. Fins.StaticController foo; void start() { foo = Fins.StaticController(app, "mystaticdir"); }



Inherit FinsController

inherit Fins.FinsController : FinsController


Variable allow_directory_listings

protected int Fins.StaticController.allow_directory_listings


Variable static_expiry_period

protected int Fins.StaticController.static_expiry_period

Description

in hours


Variable static_dir

protected string Fins.StaticController.static_dir