close method
Closes proxy server listening on port
. To close all server use closeAll method.
StreamController for connections will still be opened. To close it use stop method.
Implementation
Future<void> close(int port) async {
await proxies[port]?.close();
}