Share via


HttpExtensions Class

 

Represents the extensions that are used for manipulating HTTP requests and responses.

Namespace:   Microsoft.WindowsAzure.Common.Internals
Assembly:  Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.Common.Internals.HttpExtensions

Syntax

public static class HttpExtensions
[ExtensionAttribute]
public ref class HttpExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
type HttpExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class HttpExtensions

Methods

Name Description
AppendHttpRequest(StringBuilder, CloudHttpRequestErrorInfo)

Appends an HTTP request.

AppendHttpRequest(StringBuilder, HttpRequestMessage)

Appends an HTTP request.

AppendHttpResponse(StringBuilder, CloudHttpResponseErrorInfo)

Appends an HTTP response.

AppendHttpResponse(StringBuilder, HttpResponseMessage)

Appends an HTTP response.

AsString(CloudHttpRequestErrorInfo)

Gets a standard string representation of an HTTP request.

AsString(CloudHttpResponseErrorInfo)

Gets a standard string representation of an HTTP response.

AsString(HttpContent)

Gets the HTTP message content as a string.

AsString(HttpRequestMessage)

Gets a standard string representation of an HTTP request.

AsString(HttpResponseMessage)

Gets a standard string representation of an HTTP response.

GetContentHeaders(HttpRequestMessage)

Gets the content headers for an HTTP request.

GetContentHeaders(HttpResponseMessage)

Gets the content headers for an HTTP response.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsAzure.Common.Internals Namespace

Return to top