Aller au contenu

redactSession

Ce contenu n’est pas encore disponible dans votre langue.

redactSession(session, config?): RecordingSession

Defined in: utils/redact.ts:444

Return a redacted copy of a recording session. Sensitive headers are stripped and any configured body patterns replaced. The input is not mutated. Redaction is opt-in: a config object (even {}) enables it, while false/undefined returns the session unchanged.

RecordingSession

false | RedactionConfig

RecordingSession