Table of Contents

Method UseHttpServer

Namespace
Sisk.Core.Http.Hosting
Assembly
Sisk.Core.dll

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.

Returns

HttpServerHostContextBuilder