feat: 增加最小网络非阻塞 TCP 测试用例,初步定义 HTTP 协议体
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
#ifndef INCLUDE_OUC_SERVER_HTTP_REQUEST
|
||||
#define INCLUDE_OUC_SERVER_HTTP_REQUEST
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace ouc_server
|
||||
{
|
||||
namespace http
|
||||
{
|
||||
enum class HttpMethodType
|
||||
{
|
||||
Get,
|
||||
Head,
|
||||
Post,
|
||||
Put,
|
||||
Delete,
|
||||
Connect,
|
||||
Options,
|
||||
Trace
|
||||
};
|
||||
|
||||
struct HttpRequest
|
||||
{
|
||||
HttpMethodType method;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user