close method

Future<void> close()

Implementation

Future<void> close() async {
  await _httpServer?.close(force: true);
  await _serverSocket?.close();
}