Method UseHandler<THandler>
Namespace: Sisk.Core.Http.Hosting
Assembly: Sisk.Core.dll
UseHandler<THandler>()
This method is an shortcut for calling RegisterHandler<T>().
public HttpServerHostContextBuilder UseHandler<THandler>() where THandler : HttpServerHandler, new()
Returns
Type Parameters
THandler
The handler which implements HttpServerHandler.
UseHandler(HttpServerHandler)
This method is an shortcut for calling RegisterHandler(HttpServerHandler).
public HttpServerHostContextBuilder UseHandler(HttpServerHandler handler)
Parameters
handler HttpServerHandler
The instance of the server handler.
                                    English
                                
                                    Русский
                                
                                    Português
                                
                                    Español
                                
                                    Deutsch
                                
                                    中文 (简体)
                                
                                    日本語