Compartir a través de


TestServer.CreateHandler Método

Definición

Sobrecargas

CreateHandler()

Crea un personalizado HttpMessageHandler para procesar solicitudes/respuestas HTTP con el servidor de prueba.

CreateHandler(Action<HttpContext>)

Crea un personalizado HttpMessageHandler para procesar solicitudes/respuestas HTTP con configuración personalizada con el servidor de prueba.

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

Crea un personalizado HttpMessageHandler para procesar solicitudes/respuestas HTTP con el servidor de prueba.

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

Devoluciones

Se aplica a

CreateHandler(Action<HttpContext>)

Source:
TestServer.cs
Source:
TestServer.cs
Source:
TestServer.cs

Crea un personalizado HttpMessageHandler para procesar solicitudes/respuestas HTTP con configuración personalizada con el servidor de prueba.

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

Parámetros

additionalContextConfiguration
Action<HttpContext>

Devoluciones

Se aplica a