Method UseHttpServer
UseHttpServer(Action<HttpServer>)
Calls an action that has the HTTP server instance as an argument.
public HttpServerHostContextBuilder UseHttpServer(Action<HttpServer> handler)
Parameters
handler
Action<HttpServer>An action where the first argument is the main HttpServer object.