Partager via


MockedHttpClientHandler Classe

Définition

HttpChandler mock.

public class MockedHttpClientHandler : System.Net.Http.HttpClientHandler
type MockedHttpClientHandler = class
    inherit HttpClientHandler
Public Class MockedHttpClientHandler
Inherits HttpClientHandler
Héritage
MockedHttpClientHandler

Constructeurs

MockedHttpClientHandler(HttpClient)

Initialise une nouvelle instance de la classe MockedHttpClientHandler.

MockedHttpClientHandler(HttpMessageHandler)

Initialise une nouvelle instance de la classe MockedHttpClientHandler.

Méthodes

CloneHttpRequestMessageAsync(HttpRequestMessage)

Clonez tout d’un objet HttpRequestMessage.

SendAsync(HttpRequestMessage, CancellationToken)

HttpChandler mock.

S’applique à