MockedHttpClientHandler Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |