Share via


SignedHttpRequestUtilities.ToHttpRequestDataAsync(HttpRequestMessage) Method

Definition

A helper method that converts HttpRequestMessage into HttpRequestData object.

public static System.Threading.Tasks.Task<Microsoft.IdentityModel.Protocols.HttpRequestData> ToHttpRequestDataAsync (this System.Net.Http.HttpRequestMessage httpRequestMessage);
static member ToHttpRequestDataAsync : System.Net.Http.HttpRequestMessage -> System.Threading.Tasks.Task<Microsoft.IdentityModel.Protocols.HttpRequestData>
<Extension()>
Public Function ToHttpRequestDataAsync (httpRequestMessage As HttpRequestMessage) As Task(Of HttpRequestData)

Parameters

httpRequestMessage
HttpRequestMessage

HttpRequestMessage object that represents incoming or outgoing http request.

Returns

HttpRequestData object

Applies to