TestServer.CreateHandler Method
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
CreateHandler() |
Creates a custom HttpMessageHandler for processing HTTP requests/responses with the test server. |
CreateHandler(Action<HttpContext>) |
Creates a custom HttpMessageHandler for processing HTTP requests/responses with custom configuration with the test server. |
CreateHandler()
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
Creates a custom HttpMessageHandler for processing HTTP requests/responses with the test server.
public:
System::Net::Http::HttpMessageHandler ^ CreateHandler();
public System.Net.Http.HttpMessageHandler CreateHandler ();
member this.CreateHandler : unit -> System.Net.Http.HttpMessageHandler
Public Function CreateHandler () As HttpMessageHandler
Returns
Applies to
CreateHandler(Action<HttpContext>)
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
Creates a custom HttpMessageHandler for processing HTTP requests/responses with custom configuration with the test server.
public System.Net.Http.HttpMessageHandler CreateHandler (Action<Microsoft.AspNetCore.Http.HttpContext> additionalContextConfiguration);
member this.CreateHandler : Action<Microsoft.AspNetCore.Http.HttpContext> -> System.Net.Http.HttpMessageHandler
Public Function CreateHandler (additionalContextConfiguration As Action(Of HttpContext)) As HttpMessageHandler
Parameters
- additionalContextConfiguration
- Action<HttpContext>