stop method

Future<void> stop()

Closes all connections and closes connection controller no more servers can be bound to this instance.

Calls closeAll before closing connections stream.

Implementation

Future<void> stop() async {
  await closeAll();
  await _connectionsController.close();
}