Graphorin API reference v0.15.1
Graphorin API reference / @graphorin/tools / / applyInboundSanitizationWithClassifier
Function: applyInboundSanitizationWithClassifier()
ts
function applyInboundSanitizationWithClassifier(opts): Promise<SanitizationOutcome>;Defined in: packages/tools/src/inbound/sanitize.ts:251
Stable
Async variant of applyInboundSanitization that additionally consults an optional InjectionClassifier (default off). Identical to the sync pass when no classifier is supplied.
Parameters
| Parameter | Type |
|---|---|
opts | InboundSanitizationWithClassifierOptions |
Returns
Promise<SanitizationOutcome>