Compartir a través de


MockedHttpClientHandler.CloneHttpRequestMessageAsync Método

Definición

Clone todo un httpRequestMessage.

public static System.Threading.Tasks.Task<System.Net.Http.HttpRequestMessage> CloneHttpRequestMessageAsync (System.Net.Http.HttpRequestMessage request);
static member CloneHttpRequestMessageAsync : System.Net.Http.HttpRequestMessage -> System.Threading.Tasks.Task<System.Net.Http.HttpRequestMessage>
Public Shared Function CloneHttpRequestMessageAsync (request As HttpRequestMessage) As Task(Of HttpRequestMessage)

Parámetros

request
HttpRequestMessage

HttpRequestMessage que se va a clonar.

Devoluciones

HttpRequestMessage clonado.

Se aplica a