httpgateway: take listen/port data from config file
这个提交包含在:
@@ -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;
|
||||
|
在新工单中引用
屏蔽一个用户