sendCloseToRelay method

void sendCloseToRelay(
  1. String url,
  2. String id
)

sends a close message to a relay

Implementation

void sendCloseToRelay(String url, String id) {
  RelayConnectivity? connectivity = globalState.relays[url];
  if (connectivity != null) {
    _sendCloseToRelay(connectivity, id);
  }
}