Method CreateListener
CreateListener()
Gets an listening and running HTTP server in an random port.
public static HttpServer CreateListener()
Returns
CreateListener(ushort)
Gets an listening and running HTTP server in the specified port.
public static HttpServer CreateListener(ushort port)
Parameters
portushortThe listening port of the HTTP server.
Returns
CreateListener(ushort, out HttpServerConfiguration, out ListeningHost, out Router)
Gets an listening and running HTTP server in the specified port.
public static HttpServer CreateListener(ushort insecureHttpPort, out HttpServerConfiguration configuration, out ListeningHost host, out Router router)
Parameters
insecureHttpPortushortThe insecure port where the HTTP server will listen.
configurationHttpServerConfigurationThe HttpServerConfiguration object issued from this method.
hostListeningHostThe ListeningHost object issued from this method.
routerRouterThe Router object issued from this method.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語