QuestionController

Undocumented in source.

Constructors

this
this(UserCollection userCollection, ServiceConfiguration configuration)
Undocumented in source.

Members

Functions

action
string action()
Undocumented in source.
backPath
string backPath()
Undocumented in source.
backPath
string backPath(HTTPServerRequest )
Undocumented in source.
canHandle
bool canHandle(HTTPServerRequest req)
Undocumented in source. Be warned that the author may not have intended to support it.
handle
void handle(HTTPServerRequest req, HTTPServerResponse res)
Undocumented in source. Be warned that the author may not have intended to support it.
handleAction
void handleAction(HTTPServerRequest req, HTTPServerResponse res)
Undocumented in source.
handleQuestion
void handleQuestion(HTTPServerRequest req, HTTPServerResponse res)
Undocumented in source. Be warned that the author may not have intended to support it.
isValidPassword
bool isValidPassword(HTTPServerRequest req, HTTPServerResponse res)
Undocumented in source. Be warned that the author may not have intended to support it.
question
string question()
Undocumented in source.
title
string title()
Undocumented in source.

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