Export (0) Print
Expand All

HttpRequestMessage.Method Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets the HTTP method used by the HTTP request message.

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

public HttpMethod Method { get; set; }

Property Value

Type: System.Net.Http.HttpMethod
Returns HttpMethod.
The HTTP method used by the request message. The default is the GET method.
© 2014 Microsoft