isRelayRegistered static method

bool isRelayRegistered(
  1. String relayUrl
)

Wether a WebSocket is registered with the given relayUrl.

Implementation

static bool isRelayRegistered(String relayUrl) {
  return relaysWebSocketsRegistry.containsKey(relayUrl);
}