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