1
0
ithewei 4ad9281ac6 fixbug: forgot to set state 3 жил өмнө
..
client 7b269883d7 fix downloadFile if Location 3 жил өмнө
server 4ad9281ac6 fixbug: forgot to set state 3 жил өмнө
Http1Parser.cpp 08d6130162 size_t content_length 3 жил өмнө
Http1Parser.h f72c592b0f replace head_cb,body_cb,chunked_cb to http_cb 3 жил өмнө
Http2Parser.cpp 41af083537 fix #243: http2 duplicate host header 3 жил өмнө
Http2Parser.h b457fef203 http_async_handler(HttpRequestPtr, HttpResponseWriterPtr) 4 жил өмнө
HttpMessage.cpp 08d6130162 size_t content_length 3 жил өмнө
HttpMessage.h 3b8cde1210 update 3 жил өмнө
HttpParser.cpp efc75784c8 code review 5 жил өмнө
HttpParser.h b457fef203 http_async_handler(HttpRequestPtr, HttpResponseWriterPtr) 4 жил өмнө
README.md 11b223c316 Add HttpMessage::head_cb 4 жил өмнө
WebSocketChannel.h 3b8cde1210 update 3 жил өмнө
WebSocketParser.cpp 1f0e6fb250 optimize code from @mtdxc 3 жил өмнө
WebSocketParser.h 1f0e6fb250 optimize code from @mtdxc 3 жил өмнө
grpcdef.h f8fcda74ed optimize 4 жил өмнө
http2def.h b457fef203 http_async_handler(HttpRequestPtr, HttpResponseWriterPtr) 4 жил өмнө
http_content.cpp 84f13c1408 fix #203 3 жил өмнө
http_content.h dc3e4a7f50 Add namespace hv 3 жил өмнө
http_parser.c 80db2c4fd0 Add HUrl 3 жил өмнө
http_parser.h 80db2c4fd0 Add HUrl 3 жил өмнө
httpdef.c b2f4586147 support RESTful API 6 жил өмнө
httpdef.h 0dfcffe1a4 Add http_state_handler for recvLargeFile 3 жил өмнө
multipart_parser.c 8aa49422f7 add event html 6 жил өмнө
multipart_parser.h 8aa49422f7 add event html 6 жил өмнө
websocket_parser.c dbea1679b4 optimize 4 жил өмнө
websocket_parser.h 1179b248f4 Upgrade: websocket 4 жил өмнө
wsdef.c 28ef7d07b8 rm warning 3 жил өмнө
wsdef.h 341336a74d #define HV_INLINE static inline 4 жил өмнө

README.md

目录结构

.
├── client
│   ├── http_client.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)