CppHttpDemo
CppHttpDemo copied to clipboard
light weight C++ httpserver and httpclient based on mongoose, also support websocket
get request中的body获取不到,出现丢失问题 通过打印,server端获取到的http_req->body为空
原生demo的http-client 连续发的两个请求,handle_func仅执行了一次。
why not have post request
supply CMakeLists.txt and a build script build.sh for the preject.
怎么获取get及post的参数啊 get 127.0.0.1:7999/api/send?id=123 怎么拿id呢
编译问题
// 定义http请求handler using ReqHandler = std::function; 使用vs2010 ,报错“”错误 3 error C2873: “ReqHandler”: 符号不能用在 using 声明中......“” 请问这是什么原因啊
line 7343, ">" to "