IHttpRecordingSanitizer Interface
Defines the contract for sanitizing recorded HTTP entries.
public interface IHttpRecordingSanitizerRemarks
Sanitizers run on both sides of matching: on entries before they are persisted, and on the entry built from an incoming request before its fingerprint is computed. Applying the same transformation to both sides is what allows a value to be redacted without breaking replay. A sanitizer must therefore be deterministic.
Methods
| Name | Description |
|---|---|
| Sanitize(HttpRecordingEntry) | Sanitizes the entry in-place to redact sensitive data. |
Sanitize(HttpRecordingEntry)
Sanitizes the entry in-place to redact sensitive data.
void Sanitize(HttpRecordingEntry entry)Parameters
entryHttpRecordingEntry