Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: void StartListening(bool)

Declaration

public void StartListening(
    bool blocking = false
)

Summary

Runs the HTTP server.

Parameters

boolblocking Normally the method will return as soon as the listening socket is open. If this parameter is set to true, however, this method will block and only return once the server is fully shut down by a call to HttpServer.StopListening(bool, bool). This is equivalent to waiting for HttpServer.ShutdownComplete indefinitely.