forked from bonesoul/uhttpsharp
-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathHttpMethods.cs
More file actions
53 lines (45 loc) · 1.5 KB
/
HttpMethods.cs
File metadata and controls
53 lines (45 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
namespace uhttpsharp
{
/// <summary>
/// Specifies the methods of an http request.
/// </summary>
public enum HttpMethods
{
/// <summary>
/// Requests a representation of the specified resource.
/// </summary>
Get,
/// <summary>
/// Asks for the response identical to the one that would correspond to a GET request, but without the response body
/// </summary>
Head,
/// <summary>
/// Requests that the server accept the entity enclosed in the request as a new subordinate of the web resource identified by the URI
/// </summary>
Post,
/// <summary>
/// Requests that the enclosed entity be stored under the supplied URI
/// </summary>
Put,
/// <summary>
/// Deletes the specified resource.
/// </summary>
Delete,
/// <summary>
/// Echoes back the received request so that a client can see what (if any) changes or additions have been made by intermediate servers
/// </summary>
Trace,
/// <summary>
/// Returns the HTTP methods that the server supports for the specified URL
/// </summary>
Options,
/// <summary>
/// Converts the request connection to a transparent TCP/IP tunnel
/// </summary>
Connect,
/// <summary>
/// Is used to apply partial modifications to a resource
/// </summary>
Patch
}
}