- add
void add(T routes)
Registers routes from a class's methods marked with the
@Get, @Post and @CustomMethod attributes.
- add
void add(RouteInfo!T info, void delegate(E) del)
- add
void add(RouteInfo!T info, Resource resource)
Undocumented in source. Be warned that the author may not have intended to support it.
- addWebSocket
void addWebSocket(RouteInfo!T info, W delegate() del)
Undocumented in source. Be warned that the author may not have intended to support it.
- addWebSocket
void addWebSocket(RouteInfo!T info)
Undocumented in source. Be warned that the author may not have intended to support it.
- handle
void handle(ServerOptions options, HandleResult result, AsyncTCPConnection client, ServerRequest req, ServerResponse res)
Undocumented in source. Be warned that the author may not have intended to support it.
- handleError
void handleError(ServerRequest req, ServerResponse res)
Undocumented in source. Be warned that the author may not have intended to support it.
- remove
void remove(RouteInfo!T info, void delegate(E) del)
Undocumented in source. Be warned that the author may not have intended to support it.
Router for handling requests.