HttpExtensions.AsString Method (HttpContent)

 

Gets the HTTP message content as a string.

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

public static string AsString(
	this HttpContent content
)

Parameters

content
Type: System.Net.Http.HttpContent

The HTTP content.

Return Value

Type: System.String

The HTTP message content as a string.

Return to top
Show: