HttpRequestMessageExtensions Class
Extensions of HttpRequestMessage
Namespace
Songhay.Extensions
Base Types
  • object
graph BT Type-->Base0["object"] Type["HttpRequestMessageExtensions"] class Type type-node

Syntax

public static class HttpRequestMessageExtensions

Methods

Name Return Value Summary
GetContentAsync(HttpRequestMessage?, Action<HttpResponseMessage>?, Func<HttpClient>?) Task<string>
Gets a string from the derived HttpResponseMessage.
static
GetContentAsync(HttpRequestMessage?, Action<HttpResponseMessage>?) Task<string>
Gets a string from the derived HttpResponseMessage.
static
GetContentAsync(HttpRequestMessage?) Task<string>
Gets a System.String from the derived HttpResponseMessage.
static
SendAsync(HttpRequestMessage?, Action<HttpRequestMessage>?, Func<HttpClient>?, HttpCompletionOption) Task<HttpResponseMessage>
Calls HttpClient.SendAsync(HttpRequestMessage)
static
SendAsync(HttpRequestMessage?, Action<HttpRequestMessage>?) Task<HttpResponseMessage>
Calls HttpClient.SendAsync(HttpRequestMessage)
static
SendAsync(HttpRequestMessage?) Task<HttpResponseMessage>
Calls HttpClient.SendAsync(HttpRequestMessage)
static
SendBodyAsync(HttpRequestMessage?, string, Encoding, string, Action<HttpRequestMessage>?, Func<HttpClient>?) Task<HttpResponseMessage>
Calls HttpClient.SendAsync(HttpRequestMessage) with the specified request body.
static
SendBodyAsync(HttpRequestMessage?, string, Encoding, string, Action<HttpRequestMessage>) Task<HttpResponseMessage>
Calls HttpClient.SendAsync(HttpRequestMessage) with the specified request body.
static
SendBodyAsync(HttpRequestMessage?, string, Encoding, string) Task<HttpResponseMessage>
Calls HttpClient.SendAsync(HttpRequestMessage) with the specified request body.
static
SendBodyAsync(HttpRequestMessage?, string) Task<HttpResponseMessage>
Calls HttpClient.SendAsync(HttpRequestMessage) with the specified request body, System.Text.Encoding.UTF8 and ApplicationJson.
static
ToAzureStorageAuthorizationHeader(HttpRequestMessage?, string, string, string, string) AuthenticationHeaderValue
Derives the AuthenticationHeaderValue from the HttpRequestMessage.
static
ToAzureStorageCanonicalizedHeaders(HttpRequestMessage?) string
Returns headers, starting with x-ms-, in a canonical format.
static
ToAzureStorageSignature(HttpRequestMessage?, string, string, string) byte[]
Derives the raw representation of the message signature from the HttpRequestMessage.`
static
WithAzureStorageBlockBlobContent(HttpRequestMessage?, string, string) HttpRequestMessage
Returns HttpRequestMessage with conventional headers for ByteArrayContent for Azure Storage.
static
WithAzureStorageHeaders(HttpRequestMessage?, DateTime, string, string, string, string, string) HttpRequestMessage
Returns HttpRequestMessage with the minimum headers required for Azure Storage.
static
WithAzureStorageHeaders(HttpRequestMessage?, DateTime, string, string, string) HttpRequestMessage
Returns HttpRequestMessage with conventional headers for Azure Storage.
static