ithewei f7ede871ca fix: use IANA standard (#771) 2 months ago
..
client 88880c2635 fix #731: wss SetProxy 7 months ago
server e2ba81baa2 feat: FileCache use LRUCache 2 months ago
Http1Parser.cpp 41f679e0c7 fix: http header parsing failures due to TCP packet segmentation (#738) 6 months ago
Http1Parser.h 3f40ed3caf tidy code style 1 year ago
Http2Parser.cpp b147d53e32 fix http2 http_cb 3 years ago
Http2Parser.h b457fef203 http_async_handler(HttpRequestPtr, HttpResponseWriterPtr) 4 years ago
HttpMessage.cpp 3cb7c1654b optimize some log level and msg desc (#721) 8 months ago
HttpMessage.h 06cea34e1a fix: 1xx 204 304 no need Content-Length (#569) 9 months ago
HttpParser.cpp 3cb7c1654b optimize some log level and msg desc (#721) 8 months ago
HttpParser.h c9eda2fc88 fix #358: handle no Content-Length case 2 years ago
README.md 06a7b5eb51 rename http_client to HttpClient 2 years ago
WebSocketChannel.cpp 63b51b37d4 Move implement to source file 3 years ago
WebSocketChannel.h e9763f0d18 rm cppcheck warnings 2 years ago
WebSocketParser.cpp e9763f0d18 rm cppcheck warnings 2 years ago
WebSocketParser.h 1f0e6fb250 optimize code from @mtdxc 3 years ago
grpcdef.h f8fcda74ed optimize 4 years ago
http2def.h b457fef203 http_async_handler(HttpRequestPtr, HttpResponseWriterPtr) 4 years ago
http_content.cpp a59b2d037e fix: if empty 1 year ago
http_content.h dc3e4a7f50 Add namespace hv 3 years ago
http_parser.c 9a3c19c639 Fix: Potential Vulnerability in Cloned Function (#689) 9 months ago
http_parser.h 80db2c4fd0 Add HUrl 3 years ago
httpdef.c 493c1ed02c Add more mime types 3 years ago
httpdef.h f7ede871ca fix: use IANA standard (#771) 2 months ago
multipart_parser.c e9763f0d18 rm cppcheck warnings 2 years ago
multipart_parser.h 8aa49422f7 add event html 6 years ago
websocket_parser.c 1e3dd552fd add windows dll versions resource (#712) 8 months ago
websocket_parser.h 1179b248f4 Upgrade: websocket 4 years ago
wsdef.c 28ef7d07b8 rm warning 3 years ago
wsdef.h 7d7fb933de fix linux gcc4.8.5 warning (#436) 2 years ago

README.md

目录结构

.
├── client
│   ├── HttpClient.h    http客户端对外头文件
│   ├── requests.h      模拟python requests api
│   └── axios.h         模拟nodejs axios api
├── httpdef.h           http定义
├── http2def.h          http2定义
├── grpcdef.h           grpc定义
├── HttpParser.h        http解析基类
├── Http1Parser.h       http1解析类
├── Http2Parser.h       http2解析类
├── HttpMessage.h       http请求响应类
├── http_content.h      http Content-Type
├── http_parser.h       http1解析实现
├── multipart_parser.h  multipart解析
└── server
    ├── HttpServer.h    http服务端对外头文件
    ├── HttpHandler.h   http处理类
    ├── FileCache.h     文件缓存类
    ├── http_page.h     http页面构造
    └── HttpService.h   http业务类 (包括api service、web service、indexof service)