lighttp.server.router

Undocumented in source.

Members

Classes

MultipartRouteOf
class MultipartRouteOf(T, E...)
Undocumented in source.
Route
class Route
Undocumented in source.
RouteImpl
class RouteImpl(T, E...)
Undocumented in source.
RouteOf
class RouteOf(T, E...)
Undocumented in source.
Router
class Router

Router for handling requests.

WebSocketRouteOf
class WebSocketRouteOf(WebSocket, T, E...)
Undocumented in source.

Functions

CustomMethod
auto CustomMethod(string method, bool hasBody, R path)
Undocumented in source. Be warned that the author may not have intended to support it.
Delete
auto Delete(R path)
Undocumented in source. Be warned that the author may not have intended to support it.
Get
auto Get(R path)
Undocumented in source. Be warned that the author may not have intended to support it.
Post
auto Post(R path)
Undocumented in source. Be warned that the author may not have intended to support it.
Put
auto Put(R path)
Undocumented in source. Be warned that the author may not have intended to support it.
registerRoutes
void registerRoutes(Router register, R router)
Undocumented in source. Be warned that the author may not have intended to support it.
routeInfo
auto routeInfo(string method, bool hasBody, E path)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

HandleResult
struct HandleResult
Undocumented in source.
RouteInfo
struct RouteInfo(T)
Undocumented in source.

Meta