ithewei 0e032b773c feat: HttpService::IsTrustProxy support wildcard match il y a 2 ans
..
client a1a8337eb9 fix downloadFile if no Content-Length il y a 2 ans
server 0e032b773c feat: HttpService::IsTrustProxy support wildcard match il y a 2 ans
Http1Parser.cpp 08d6130162 size_t content_length il y a 3 ans
Http1Parser.h c9eda2fc88 fix #358: handle no Content-Length case il y a 2 ans
Http2Parser.cpp b147d53e32 fix http2 http_cb il y a 3 ans
Http2Parser.h b457fef203 http_async_handler(HttpRequestPtr, HttpResponseWriterPtr) il y a 4 ans
HttpMessage.cpp de6b8c4340 Add HttpRequest::SetAuth il y a 2 ans
HttpMessage.h de6b8c4340 Add HttpRequest::SetAuth il y a 2 ans
HttpParser.cpp efc75784c8 code review il y a 5 ans
HttpParser.h c9eda2fc88 fix #358: handle no Content-Length case il y a 2 ans
README.md 06a7b5eb51 rename http_client to HttpClient il y a 2 ans
WebSocketChannel.cpp 63b51b37d4 Move implement to source file il y a 3 ans
WebSocketChannel.h e9763f0d18 rm cppcheck warnings il y a 2 ans
WebSocketParser.cpp e9763f0d18 rm cppcheck warnings il y a 2 ans
WebSocketParser.h 1f0e6fb250 optimize code from @mtdxc il y a 3 ans
grpcdef.h f8fcda74ed optimize il y a 4 ans
http2def.h b457fef203 http_async_handler(HttpRequestPtr, HttpResponseWriterPtr) il y a 4 ans
http_content.cpp 8f86b25b10 fix bad case il y a 2 ans
http_content.h dc3e4a7f50 Add namespace hv il y a 3 ans
http_parser.c 80db2c4fd0 Add HUrl il y a 3 ans
http_parser.h 80db2c4fd0 Add HUrl il y a 3 ans
httpdef.c 493c1ed02c Add more mime types il y a 3 ans
httpdef.h 579938146f fix : define as a whole as a judgment condition (#372) il y a 2 ans
multipart_parser.c e9763f0d18 rm cppcheck warnings il y a 2 ans
multipart_parser.h 8aa49422f7 add event html il y a 6 ans
websocket_parser.c dbea1679b4 optimize il y a 4 ans
websocket_parser.h 1179b248f4 Upgrade: websocket il y a 4 ans
wsdef.c 28ef7d07b8 rm warning il y a 3 ans
wsdef.h 3101e743c2 select Sec-WebSocket-Protocol il y a 2 ans

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)