NetworkRestrictions interface
Signature
export interface NetworkRestrictions
Properties
|
Property |
Modifiers |
Type |
Description |
Default |
|---|---|---|---|---|
|
allowlist |
|
string[] |
A list of URLPattern strings to allow. Mutually exclusive with NetworkRestrictions.blocklist. Passing Remarks: The allowlist does not apply to WebTransport and to TURN over TCP at this time. It blocks all WebRTC traffic over UDP. See ConnectOptions.allowlist. | |
|
blocklist |
|
string[] |
A list of URLPattern strings to block. Mutually exclusive with NetworkRestrictions.allowlist. Passing Remarks: The blocklist does not apply to WebTransport and WebRTC at this time. See ConnectOptions.blocklist. |