isRelayRegistered method

bool isRelayRegistered(
  1. String relayUrl
)

Wether a WebSocket is registered with the given relayUrl.

Implementation

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