Compartilhar via


MockedHttpClientHandler.CloneHttpRequestMessageAsync Método

Definição

Clone tudo de um 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

O HttpRequestMessage a ser clonado.

Retornos

O HttpRequestMessage clonado.

Aplica-se a