Method UseRouter
UseRouter(Action<Router>)
Calls an action that has an Router instance from the host HTTP server.
public HttpServerHostContextBuilder UseRouter(Action<Router> handler)
Parameters
Returns
UseRouter(Router)
Sets an Router instance in the current listening host.
public HttpServerHostContextBuilder UseRouter(Router r)