lighttp v0.1.0 (2018-03-21T17:11:43Z)
Dub
Repo
WebSocketRouteOf
lighttp
router
Undocumented in source.
class
WebSocketRouteOf : RouteImpl!(T, E)(
WebSocket
T
E
...
) {
this
(T path, WebSocket delegate() createWebSocket);
void
call
(HandleResult result, AsyncTCPConnection conn, Request req, Response res, Match match);
}
Constructors
this
this
(T path, WebSocket delegate() createWebSocket)
Undocumented in source.
Members
Functions
call
void
call
(HandleResult result, AsyncTCPConnection conn, Request req, Response res, Match match)
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
lighttp
router
classes
Route
RouteImpl
RouteOf
Router
WebSocketRouteOf
functions
CustomMethod
Get
Post
registerRoutes
structs
HandleResult
RouteInfo