Table of Contents

Method UseStartupMessage

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

UseStartupMessage(string)

Add an optional message to the HttpServerHostContext output verbose.

public HttpServerHostContextBuilder UseStartupMessage(string startupMessage)

Parameters

startupMessage string

The startup message.

Returns

HttpServerHostContextBuilder

UseStartupMessage(Func<string>)

Adds a function that returns an optional initialization message to the HttpServerHostContext output verbose.

public HttpServerHostContextBuilder UseStartupMessage(Func<string> startupMessage)

Parameters

startupMessage Func<string>

The startup message function.

Returns

HttpServerHostContextBuilder