Whether an explicit relay URL passes the mock's publish policy.
Candidate relay URL.
true for public ws(s):// URLs.
true
ws(s)://
isAllowedMockRelay('wss://relay-a.example.org') === true;isAllowedMockRelay('ws://127.0.0.1:7777') === false; Copy
isAllowedMockRelay('wss://relay-a.example.org') === true;isAllowedMockRelay('ws://127.0.0.1:7777') === false;
Whether an explicit relay URL passes the mock's publish policy.