Jaa


MockedHttpClientHandler Class

Definition

HttpChandler mock.

public class MockedHttpClientHandler : System.Net.Http.HttpClientHandler
type MockedHttpClientHandler = class
    inherit HttpClientHandler
Public Class MockedHttpClientHandler
Inherits HttpClientHandler
Inheritance
MockedHttpClientHandler

Constructors

MockedHttpClientHandler(HttpClient)

Initializes a new instance of the MockedHttpClientHandler class.

MockedHttpClientHandler(HttpMessageHandler)

Initializes a new instance of the MockedHttpClientHandler class.

Methods

CloneHttpRequestMessageAsync(HttpRequestMessage)

Clone everything of a HttpRequestMessage.

SendAsync(HttpRequestMessage, CancellationToken)

Creates an instance of HttpResponseMessage based on the information provided in the HttpRequestMessage as an operation that will not block.

Applies to