HttpContentMessageExtensions Class

 

Provides extension methods to read HttpRequestMessage and HttpResponseMessage entities from HttpContent instances.

Namespace:   System.Net.Http
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

System::Object
  System.Net.Http::HttpContentMessageExtensions

[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[ExtensionAttribute]
public ref class HttpContentMessageExtensions abstract sealed 

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticIsHttpRequestMessageContent(HttpContent^)

Determines whether the specified content is HTTP request message content.

System_CAPS_pubmethodSystem_CAPS_staticIsHttpResponseMessageContent(HttpContent^)

Determines whether the specified content is HTTP response message content.

System_CAPS_pubmethodSystem_CAPS_staticReadAsHttpRequestMessageAsync(HttpContent^)

Reads the HttpContent as an HttpRequestMessage.

System_CAPS_pubmethodSystem_CAPS_staticReadAsHttpRequestMessageAsync(HttpContent^, CancellationToken)

System_CAPS_pubmethodSystem_CAPS_staticReadAsHttpRequestMessageAsync(HttpContent^, String^)

Reads the HttpContent as an HttpRequestMessage.

System_CAPS_pubmethodSystem_CAPS_staticReadAsHttpRequestMessageAsync(HttpContent^, String^, CancellationToken)

System_CAPS_pubmethodSystem_CAPS_staticReadAsHttpRequestMessageAsync(HttpContent^, String^, Int32)

Reads the HttpContent as an HttpRequestMessage.

System_CAPS_pubmethodSystem_CAPS_staticReadAsHttpRequestMessageAsync(HttpContent^, String^, Int32, CancellationToken)

System_CAPS_pubmethodSystem_CAPS_staticReadAsHttpRequestMessageAsync(HttpContent^, String^, Int32, Int32)
System_CAPS_pubmethodSystem_CAPS_staticReadAsHttpRequestMessageAsync(HttpContent^, String^, Int32, Int32, CancellationToken)

System_CAPS_pubmethodSystem_CAPS_staticReadAsHttpResponseMessageAsync(HttpContent^)

Reads the HttpContent as an HttpResponseMessage.

System_CAPS_pubmethodSystem_CAPS_staticReadAsHttpResponseMessageAsync(HttpContent^, CancellationToken)

System_CAPS_pubmethodSystem_CAPS_staticReadAsHttpResponseMessageAsync(HttpContent^, Int32)
System_CAPS_pubmethodSystem_CAPS_staticReadAsHttpResponseMessageAsync(HttpContent^, Int32, CancellationToken)

System_CAPS_pubmethodSystem_CAPS_staticReadAsHttpResponseMessageAsync(HttpContent^, Int32, Int32)
System_CAPS_pubmethodSystem_CAPS_staticReadAsHttpResponseMessageAsync(HttpContent^, Int32, Int32, CancellationToken)

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

Return to top
Show: