Method
HttpServer.CreateBuilder
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 #
CreateBuilder(ushort) #
Builds an empty HttpServerHostContext context with predefined listening port.
public static HttpServerHostContextBuilder CreateBuilder(ushort port)Parameters #
port ushort
Returns #
CreateBuilder(string) #
Builds an empty HttpServerHostContext context with predefined listening host string.
public static HttpServerHostContextBuilder CreateBuilder(string listeningHost)Parameters #
listeningHost string
Returns #
CreateBuilder() #
Builds an empty HttpServerHostContext context.
public static HttpServerHostContextBuilder CreateBuilder()