Show / Hide Table of Contents

Enum MessageHandlerMode

Flag indicating what type of HttpMessageHandler the MessageHandlerFactory will create by default

Namespace: FakeHttp
Assembly: FakeHttp.dll
Syntax
public enum MessageHandlerMode

Fields

Name Description
Automatic

Create a handler that will use stored responses if they exist. If they do not exist the handler will retrieve them from the online endpoint and store for future use (Calls the endpoint only if no local response is found)

Capture

Create a handler that will retrieve messages from endpoint and store for future use (Always calls the endpoint)

Fake

Create a handler that will retrieve message from faking storage

Online

Create a HttpClientHandler

  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX