Server.shutdown

bool shutdown()

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

Returns

true on success, false on error.

Throws

[ErrorWrap]