Udostępnij za pośrednictwem


MockedHttpClientHandler.CloneHttpRequestMessageAsync Metoda

Definicja

Sklonuj wszystkie elementy 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)

Parametry

request
HttpRequestMessage

Komunikat HttpRequestMessage do sklonowania.

Zwraca

Sklonowany komunikat HttpRequestMessage.

Dotyczy