Share via


HttpRequestMock Class

Definition

Base class for all http request mocks.

public abstract class HttpRequestMock
type HttpRequestMock = class
Public MustInherit Class HttpRequestMock
Inheritance
HttpRequestMock
Derived

Constructors

HttpRequestMock()

Methods

RegisterSourcePath(String, Int32)

helper to register source path with debugger.

Setup(MockHttpMessageHandler)

In the constructor of MockHttpRequestMiddleware, this function will be called to setup a global handler.

Applies to