httpgateway: take listen/port data from config file

这个提交包含在:
2019-02-21 10:47:49 +01:00
父节点 f5b594449d
当前提交 8b125c7775
共有 2 个文件被更改,包括 16 次插入1 次删除

查看文件

@@ -13,6 +13,10 @@ class HttpGateway : public GatewayInterface
httplib::Response convertResponse(Response response);
Request convertRequest(httplib::Request request);
// void worker(const httplib::Request& req, httplib::Response& res);
std::string listenaddr;
int listenport;
public:
HttpGateway(const Config &config);
bool keepReading() override;