doesRelaySupportNip method

bool doesRelaySupportNip(
  1. String url,
  2. int nip
)

does relay support given nip

Implementation

bool doesRelaySupportNip(String url, int nip) {
  Relay? relay = relays[cleanRelayUrl(url)];
  return relay != null && relay.supportsNip(nip);
}