shutdown (method)
Shuts down the server.
Syntax
- (void)shutdown;
public func shutdown() throws -> Void
Remarks
This method shuts down the server. Calling this method is equivalent to setting Listening to False, and then breaking every client connection by calling Disconnect.