HttpContentMessageExtensions.IsHttpResponseMessageContent Method (HttpContent)

 

Determines whether the specified content is HTTP response message content.

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

public static bool IsHttpResponseMessageContent(
	this HttpContent content
)

Parameters

content
Type: System.Net.Http.HttpContent

The content to check.

Return Value

Type: System.Boolean

true if the specified content is HTTP message content; otherwise, false.

Return to top
Show: