drogon/examples/simple_reverse_proxy/main.cc

11 lines
252 B
C++
Raw Normal View History

2019-12-08 00:31:56 +00:00
#include <drogon/drogon.h>
2019-12-08 00:31:56 +00:00
int main()
{
// Set HTTP listener address and port
drogon::app().loadConfigFile("../config.json");
// Run HTTP framework, the method will block in the internal event loop
2019-12-08 00:31:56 +00:00
drogon::app().run();
return 0;
}