提交 38c6dd23 authored 作者: blu's avatar blu

init

上级 24f6030f
......@@ -34,11 +34,19 @@ class HttpSrv{
res.set_content(rep.dump(), "text/json");
});
svr.Post("/config", [](const Request& req, Response& res){
});
svr.Post("/reset", [](const Request& req, Response& res){
});
svr.listen("0.0.0.0", 8088);
}
HttpSrv(){
};
~HttpSrv(){};
};
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论