Method
HttpServer.RegisterHandler<T>
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 #
T
The 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 #
The instance of the server handler.