Represents the types of HTTP protocol methods that can be used with an HTTP request.
Assembly: System (in System.dll)
Thetype exposes the following members.
|Connect||Represents the HTTP CONNECT protocol method that is used with a proxy that can dynamically switch to tunneling, as in the case of SSL tunneling.|
|Get||Represents an HTTP GET protocol method.|
|Head||Represents an HTTP HEAD protocol method. The HEAD method is identical to GET except that the server only returns message-headers in the response, without a message-body.|
|MkCol||Represents an HTTP MKCOL request that creates a new collection (such as a collection of pages) at the location specified by the request-Uniform Resource Identifier (URI).|
|Post||Represents an HTTP POST protocol method that is used to post a new entity as an addition to a URI.|
|Put||Represents an HTTP PUT protocol method that is used to replace an entity identified by a URI.|
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.