PathController

A controller that can handle paths defined in the service configuration

Constructors

this
this(UserCollection userCollection, ServiceConfiguration configuration)

Create the object

Members

Functions

canHandle
bool canHandle(HTTPServerRequest req)

Returns true if the request and path matches with the template values

Variables

configuration
ServiceConfiguration configuration;
Undocumented in source.
path
string path;
Undocumented in source.
userCollection
UserCollection userCollection;
Undocumented in source.

Inherited Members

From IController

canHandle
bool canHandle(HTTPServerRequest )

Returns true if the request can be handled by the controller

handle
void handle(HTTPServerRequest req, HTTPServerResponse res)

Handle the client request

Meta