MockedHttpClientHandler Constructors
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.
Overloads
MockedHttpClientHandler(HttpClient) |
Initializes a new instance of the MockedHttpClientHandler class. |
MockedHttpClientHandler(HttpMessageHandler) |
Initializes a new instance of the MockedHttpClientHandler class. |
MockedHttpClientHandler(HttpClient)
Initializes a new instance of the MockedHttpClientHandler class.
public MockedHttpClientHandler (System.Net.Http.HttpClient client);
new Microsoft.Bot.Builder.AI.Luis.Testing.MockedHttpClientHandler : System.Net.Http.HttpClient -> Microsoft.Bot.Builder.AI.Luis.Testing.MockedHttpClientHandler
Public Sub New (client As HttpClient)
Parameters
- client
- HttpClient
client to use.
Applies to
MockedHttpClientHandler(HttpMessageHandler)
Initializes a new instance of the MockedHttpClientHandler class.
public MockedHttpClientHandler (System.Net.Http.HttpMessageHandler httpMessageHandler);
new Microsoft.Bot.Builder.AI.Luis.Testing.MockedHttpClientHandler : System.Net.Http.HttpMessageHandler -> Microsoft.Bot.Builder.AI.Luis.Testing.MockedHttpClientHandler
Public Sub New (httpMessageHandler As HttpMessageHandler)
Parameters
- httpMessageHandler
- HttpMessageHandler
Handler to use.