Sisk

Method

HttpServerHostContextBuilder.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.

C#
public HttpServerHostContextBuilder UseHttpServer(Action<HttpServer> handler)

Parameters #

handler Action<HttpServer>

An action where the first argument is the main HttpServer object.

Returns #

HttpServerHostContextBuilder

Type to search the documentation and the API reference.