File: main.cc

package info (click to toggle)
drogon 1.9.11%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,820 kB
  • sloc: cpp: 57,270; sh: 297; xml: 20; makefile: 11
file content (10 lines) | stat: -rw-r--r-- 252 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#include <drogon/drogon.h>

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
    drogon::app().run();
    return 0;
}