feat: 增加最小网络非阻塞 TCP 测试用例,初步定义 HTTP 协议体

This commit is contained in:
2025-09-27 13:25:12 +00:00
parent b56499d84c
commit b6438fc69d
6 changed files with 237 additions and 0 deletions
+29
View File
@@ -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