Method RegisterHandler
RegisterHandler<T>()
Associate an HttpServerHandler in this HttpServer to handle functions such as requests, routers and contexts.
public void RegisterHandler<T>() where T : HttpServerHandler, new()
Type Parameters
TThe handler which implements HttpServerHandler.
RegisterHandler(HttpServerHandler)
Associate an HttpServerHandler in this HttpServer to handle functions such as requests, routers and contexts.
public void RegisterHandler(HttpServerHandler obj)
Parameters
objHttpServerHandlerThe instance of the server handler.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語