Method StartAsync
StartAsync(bool, bool)
Asynchronously starts the HTTP server.
public Task StartAsync(bool verbose = true, bool preventHault = true)
Parameters
verbose
boolOptional. Specifies if the application should write the listening prefix welcome message.
preventHault
boolOptional. Specifies if the application should pause the main application loop.