Sisk

Method

HttpServerHostContext.StartAsync

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

StartAsync(bool, bool) #

Asynchronously starts the HTTP server.

C#
public Task StartAsync(bool verbose = true, bool preventHault = true)

Parameters #

verbose bool

Optional. Specifies if the application should write the listening prefix welcome message.

preventHault bool

Optional. Specifies if the application should pause the main application loop.

Returns #

Task

Type to search the documentation and the API reference.