Share via


HttpContentMessageExtensions.IsHttpRequestMessageContent Method (HttpContent)

 

Determines whether the specified content is HTTP request message content.

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

Syntax

public static bool IsHttpRequestMessageContent(
    this HttpContent content
)
public:
[ExtensionAttribute]
static bool IsHttpRequestMessageContent(
    HttpContent^ content
)
static member IsHttpRequestMessageContent : 
        content:HttpContent -> bool
<ExtensionAttribute>
Public Shared Function IsHttpRequestMessageContent (
    content As HttpContent
) As Boolean

Parameters

Return Value

Type: System.Boolean

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

See Also

HttpContentMessageExtensions Class
System.Net.Http Namespace

Return to top