isRelayConnected method

bool isRelayConnected(
  1. String url
)

Implementation

bool isRelayConnected(String url) {
  Relay? relay = relays[url];
  return relay != null && isWebSocketOpen(url);
}