close method

Future<void> close()

Shuts down the proxy server and closes the socket.

Implementation

Future<void> close() async {
  await server?.close();
}