ithewei 915cc8e2b8 update 3 years ago
..
client 915cc8e2b8 update 3 years ago
server 46db906753 ws mqtt send thread-safe 3 years ago
Http1Parser.cpp 8712451104 Optimize code 4 years ago
Http1Parser.h 8712451104 Optimize code 4 years ago
Http2Parser.cpp f8fcda74ed optimize 4 years ago
Http2Parser.h b457fef203 http_async_handler(HttpRequestPtr, HttpResponseWriterPtr) 4 years ago
HttpMessage.cpp de856c8f30 SSE: Content-Type: text/event-stream 4 years ago
HttpMessage.h 7761f909c3 Json dump to body directly 3 years ago
HttpParser.cpp efc75784c8 code review 5 years ago
HttpParser.h b457fef203 http_async_handler(HttpRequestPtr, HttpResponseWriterPtr) 4 years ago
README.md 11b223c316 Add HttpMessage::head_cb 4 years ago
WebSocketChannel.h 46db906753 ws mqtt send thread-safe 3 years ago
WebSocketParser.cpp 8712451104 Optimize code 4 years ago
WebSocketParser.h 8712451104 Optimize code 4 years ago
grpcdef.h f8fcda74ed optimize 4 years ago
http2def.h b457fef203 http_async_handler(HttpRequestPtr, HttpResponseWriterPtr) 4 years ago
http_content.cpp 37705499e5 format code 4 years ago
http_content.h 5decc083d0 requests::uploadFile, requests::uploadFormFile 4 years ago
http_parser.c a09ca22fc3 add WITH_NGHTTP2 6 years ago
http_parser.h a09ca22fc3 add WITH_NGHTTP2 6 years ago
httpdef.c b2f4586147 support RESTful API 6 years ago
httpdef.h de856c8f30 SSE: Content-Type: text/event-stream 4 years ago
multipart_parser.c 8aa49422f7 add event html 6 years ago
multipart_parser.h 8aa49422f7 add event html 6 years ago
websocket_parser.c dbea1679b4 optimize 4 years ago
websocket_parser.h 1179b248f4 Upgrade: websocket 4 years ago
wsdef.c 9fdcca636f rm duplicate symbol #94 4 years ago
wsdef.h 341336a74d #define HV_INLINE static inline 4 years ago

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)