Meziantou.Framework.Http.Recording namespace

Classes

NameDescription
DefaultHttpRequestMatcherMatches requests based on HTTP method, URL with sorted query parameters, and request body.
HarHttpRecordingStoreStores recorded HTTP entries in HAR (HTTP Archive) 1.2 format.
HeaderRemovalSanitizerRemoves the specified headers from recorded entries.
HttpRecordingEntryRepresents a recorded HTTP request/response pair.
HttpRecordingHandlerA delegating handler that records and replays HTTP interactions for testing.
HttpRecordingMissExceptionThrown when no recorded response matches an incoming request during replay.
HttpRecordingOptionsConfiguration options for the HTTP recording handler.
JsonHttpRecordingStoreStores recorded HTTP entries as a JSON file.
UriQueryParameterSanitizerReplaces the value of the specified query string parameters in the recorded request URI.

Interfaces

NameDescription
IHttpRecordingSanitizerDefines the contract for sanitizing recorded HTTP entries.
IHttpRecordingStoreDefines the contract for loading and saving recorded HTTP interactions.
IHttpRequestMatcherDefines the contract for computing a deterministic fingerprint from an HTTP request.

Enums

NameDescription
HttpRecordingMissBehaviorSpecifies what happens when no recorded response matches an incoming request.
HttpRecordingModeSpecifies the operating mode for the recording handler.