Simple Http Server

자세한 소스는 github을 참고하세요.

https://github.com/lmk/SimpleHttpServer


SimpleHttpServer

  • very simple http server
  • default port: 8080
  • support: linux g++ 4.9.2

How to use

  • block server
HttpServer httpServer;

httpServer.Init(5, NULL);
httpServer.Run();
  • non-block
NBHttpServer* httpServer = NBHttpServer::getInstance();
httpServer->Init(5);
httpServer->Start();
sleep(60);
httpServer->Stop();


저작자 표시
신고
Creative Commons License
Creative Commons License