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
System_CAPS_pubmethodSystem_CAPS_static AppendHttpRequest(StringBuilder, CloudHttpRequestErrorInfo)

Appends an HTTP request.

System_CAPS_pubmethodSystem_CAPS_static AppendHttpRequest(StringBuilder, HttpRequestMessage)

Appends an HTTP request.

System_CAPS_pubmethodSystem_CAPS_static AppendHttpResponse(StringBuilder, CloudHttpResponseErrorInfo)

Appends an HTTP response.

System_CAPS_pubmethodSystem_CAPS_static AppendHttpResponse(StringBuilder, HttpResponseMessage)

Appends an HTTP response.

System_CAPS_pubmethodSystem_CAPS_static AsString(CloudHttpRequestErrorInfo)

Gets a standard string representation of an HTTP request.

System_CAPS_pubmethodSystem_CAPS_static AsString(CloudHttpResponseErrorInfo)

Gets a standard string representation of an HTTP response.

System_CAPS_pubmethodSystem_CAPS_static AsString(HttpContent)

Gets the HTTP message content as a string.

System_CAPS_pubmethodSystem_CAPS_static AsString(HttpRequestMessage)

Gets a standard string representation of an HTTP request.

System_CAPS_pubmethodSystem_CAPS_static AsString(HttpResponseMessage)

Gets a standard string representation of an HTTP response.

System_CAPS_pubmethodSystem_CAPS_static GetContentHeaders(HttpRequestMessage)

Gets the content headers for an HTTP request.

System_CAPS_pubmethodSystem_CAPS_static 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