Method UseRouter
Namespace: Sisk.Core.Http.Hosting
Assembly: Sisk.Core.dll
UseRouter(Action<Router>)
Calls an action that has an Router instance from the host HTTP server.
public HttpServerHostContextBuilder UseRouter(Action<Router> handler)
Parameters
An action where the first argument is the main Router object.
Returns
UseRouter(Router)
Sets an Router instance in the current listening host.
public HttpServerHostContextBuilder UseRouter(Router r)
Parameters
r Router
The Router to the current host builder.
                                    English
                                
                                    Русский
                                
                                    Português
                                
                                    Español
                                
                                    Deutsch
                                
                                    中文 (简体)
                                
                                    日本語