Method
HttpServer.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 #
port ushort
The 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 #
insecureHttpPort ushort
The insecure port where the HTTP server will listen.
configuration HttpServerConfiguration
The HttpServerConfiguration object issued from this method.
host ListeningHost
The ListeningHost object issued from this method.
router Router
The Router object issued from this method.