Server.shutdown

Shuts down the serve. This function can be called from signal handler or another thread.

class Server
bool
shutdown
()

Return Value

Type: bool

true on success, false on error.