lighttp ~master (2020-01-09T16:41:23Z)
Dub
Repo
Router.add
lighttp
server
router
Router
Adds a route.
void
add
(T routes)
void
add
(RouteInfo!T info, void delegate(E) del)
class
Router
void
add
(
T
E
...
)
(
RouteInfo
!
T
info
,
void
delegate
(
E
)
del
)
void
add
(RouteInfo!T info, Resource resource)
Meta
Source
See Implementation
lighttp
server
router
Router
constructors
this
functions
add
addWebSocket
handle
handleError
remove
Adds a route.