Context

Represents the context of the application in the current thread.

Constructors

this
this(Config config)
Undocumented in source.

Members

Functions

refresh
void refresh(ServerRequest request, ServerResponse response)

Updates the context using the data from the next request.

Properties

config
Config config [@property getter]

Gets the server's configuration.

request
ServerRequest request [@property getter]

Gets the current request.

response
ServerResponse response [@property getter]

Gets the current response.

session
Session session [@property getter]

Gets the current session, lazily initialized.

Meta