OutboundHostValidator class
Shared allowlist policy for server-side outbound requests.
A configured suffix matches both the exact host and its subdomains. The policy is disabled by default to preserve existing SDK behavior.
Constructors
| Outbound |
Properties
| enabled |
Constructor Details
OutboundHostValidator(OutboundHostValidatorOptions)
new OutboundHostValidator(options?: OutboundHostValidatorOptions)
Parameters
- options
- OutboundHostValidatorOptions
Property Details
enabled
enabled: boolean
Property Value
boolean
Method Details
isAllowed(string | URL | null | undefined)
function isAllowed(input: string | URL | null | undefined): boolean
Parameters
- input
-
string | URL | null | undefined
Returns
boolean