lighttp v0.5.2 (2019-09-14T09:23:16Z)
Dub
Repo
WebSocketRouteOf
lighttp
server
router
Undocumented in source.
class
WebSocketRouteOf : RouteImpl!(T, E)(
WebSocket
T
E
...
) {
this
(T path, WebSocket delegate() createWebSocket);
void
call
(ServerOptions options, HandleResult result, AsyncTCPConnection client, ServerRequest req, ServerResponse res, Match match);
}
Constructors
this
this
(T path, WebSocket delegate() createWebSocket)
Undocumented in source.
Members
Functions
call
void
call
(ServerOptions options, HandleResult result, AsyncTCPConnection client, ServerRequest req, ServerResponse res, Match match)
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
lighttp
server
router
classes
MultipartRouteOf
Route
RouteImpl
RouteOf
Router
WebSocketRouteOf
functions
CustomMethod
Delete
Get
Post
Put
registerRoutes
routeInfo
structs
HandleResult
RouteInfo