Server.disconnect

Closes and frees server's listening sockets.

Note that if there are currently requests in progress on server, that they will continue to be processed if server's glib.main_context.MainContext is still running.

You can call soup.server.Server.listen, etc, after calling this function if you want to start listening again.

class Server
void
disconnect
()