Table of Contents

Method CreateBuilder

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

CreateBuilder(Action<HttpServerHostContextBuilder>)

Builds an HttpServerHostContext context invoking the handler on it.

public static HttpServerHostContextBuilder CreateBuilder(Action<HttpServerHostContextBuilder> handler)

Parameters

handler Action<HttpServerHostContextBuilder>

The action which will configure the host context.

Returns

HttpServerHostContextBuilder

CreateBuilder(ushort)

Builds an empty HttpServerHostContext context with predefined listening port.

public static HttpServerHostContextBuilder CreateBuilder(ushort port)

Parameters

port ushort

Returns

HttpServerHostContextBuilder

CreateBuilder(string)

Builds an empty HttpServerHostContext context with predefined listening host string.

public static HttpServerHostContextBuilder CreateBuilder(string listeningHost)

Parameters

listeningHost string

Returns

HttpServerHostContextBuilder

CreateBuilder()

Builds an empty HttpServerHostContext context.

public static HttpServerHostContextBuilder CreateBuilder()

Returns

HttpServerHostContextBuilder