resetTransport method

Future<void> resetTransport(
  1. String url
)

Closes and clears only transport-scoped state of every connection to url, while keeping the entries and relay-scoped metadata in memory.

Implementation

Future<void> resetTransport(String url) async {
  await Future.wait(_connectionKeysForRelay(url).map(resetConnection));
}