isRelayConnected method

bool isRelayConnected(
  1. String url
)

checks if a relay is connected, avoid using this

Implementation

bool isRelayConnected(String url) {
  return globalState.relays[url]?.relayTransport?.isOpen() ?? false;
}