OutboundUrlPolicy interface

A policy that decides whether an outbound URL is safe to request.

Properties

enabled

Property Details

enabled

enabled: boolean

Property Value

boolean

Method Details

isAllowed(string | URL | null | undefined)

function isAllowed(url: string | URL | null | undefined): boolean

Parameters

url

string | URL | null | undefined

Returns

boolean