HttpRequestMessage.Method Property

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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft