URLRouter.register

Adds a new route for requests matching the specified HTTP method and pattern.

class URLRouter
@safe nothrow
void
register
(
string path
)
(
Optional!(Promise!void) delegate nothrow @safe cb
,)

Meta