Namespace FakeHttp
Classes
AutomaticHttpClientHandler
A HttpMessageHandler that retrieves http response messages from from local storage if they exist or if they do not, from the http endpoint and then stores them for future retrieval
CapturingHttpClientHandler
A HttpMessageHandler that retrieves http response messages from from the http endpoint and then stores them for future retrieval
FakeHttpMessageHandler
A HttpMessageHandler that retrieves http response messages from an alternate storage rather than from a given http endpoint
GlobalFilters
Sets of header and parameter names to filter out of response hashing and serialization. Used to prevent ephemeral values types from changing the hashed name of a response and to prevent sensitive information like api keys or auth tokens from being stored.
MessageHandlerFactory
Static factory class that creates HttpMessageHandler instances for unit tests
ReadOnlyResponseStore
A store that can serve responses from an IReadOnlyResources instance
ResponseCallbacks
Default implementation of the IResponseCallbacks interface
ResponseInfo
A serialization friendly wrapper around HttpResponseMessage
ResponseStore
Class that can store and retrieve response messages using an IResources instance
Interfaces
IReadOnlyResources
Interface to retrieve named resources that exist in a named container.
IReadOnlyResponseStore
Interface to abstract retrieval of HttpResponseMessage instances
IResources
A reource type that can store new response messages at runtime
IResponseCallbacks
Callback interface to allow tests to supply runtime logic for responses
IResponseStore
Interface to abstract storage and retrieval of HttpResponseMessage instances
Enums
MessageHandlerMode
Flag indicating what type of HttpMessageHandler the MessageHandlerFactory will create by default