You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.3 KiB
43 lines
1.3 KiB
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Apewer.Network
|
|
{
|
|
|
|
/// <summary></summary>
|
|
public enum HttpMethod
|
|
{
|
|
|
|
/// <summary></summary>
|
|
NULL,
|
|
|
|
/// <summary>CONNECT 方法建立一个到由目标资源标识的服务器的隧道。</summary>
|
|
CONNECT,
|
|
|
|
/// <summary>DELETE 方法删除指定的资源。</summary>
|
|
DELETE,
|
|
|
|
/// <summary>GET 方法请求一个指定资源的表示形式,使用 GET 的请求应该只被用于获取数据。</summary>
|
|
GET,
|
|
|
|
/// <summary>HEAD 方法请求一个与 GET 请求的响应相同的响应,但没有响应体。</summary>
|
|
HEAD,
|
|
|
|
/// <summary>OPTIONS 方法用于描述目标资源的通信选项。</summary>
|
|
OPTIONS,
|
|
|
|
/// <summary>PATCH 方法用于对资源应用部分修改。</summary>
|
|
PATCH,
|
|
|
|
/// <summary>POST 方法用于将实体提交到指定的资源,通常导致在服务器上的状态变化或副作用。</summary>
|
|
POST,
|
|
|
|
/// <summary>PUT 方法用有效载荷请求替换目标资源的所有当前表示。</summary>
|
|
PUT,
|
|
|
|
/// <summary>TRACE 方法沿着到目标资源的路径执行一个消息环回测试。</summary>
|
|
TRACE
|
|
|
|
}
|
|
|
|
}
|