Method CreateBuilder
CreateBuilder(Action<HttpServerHostContextBuilder>)
Builds an HttpServerHostContext context invoking the handler on it.
public static HttpServerHostContextBuilder CreateBuilder(Action<HttpServerHostContextBuilder> handler)
Parameters
handlerAction<HttpServerHostContextBuilder>The action which will configure the host context.
Returns
CreateBuilder(ushort)
Builds an empty HttpServerHostContext context with predefined listening port.
public static HttpServerHostContextBuilder CreateBuilder(ushort port)
Parameters
portushort
Returns
CreateBuilder(string)
Builds an empty HttpServerHostContext context with predefined listening host string.
public static HttpServerHostContextBuilder CreateBuilder(string listeningHost)
Parameters
listeningHoststring
Returns
CreateBuilder()
Builds an empty HttpServerHostContext context.
public static HttpServerHostContextBuilder CreateBuilder()
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語