SignedHttpRequestUtilities.ToHttpRequestDataAsync(HttpRequestMessage) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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