Sha256: cfae5d1f2a439b975eb34f4b93a14aa9f97149d39de0944e1b6a6d8f8b9baf47
Contents?: true
Size: 793 Bytes
Versions: 17
Compression:
Stored size: 793 Bytes
Contents
// // HTTPServer.h // Development // // Created by Dmitry Soldatenkov on 12.08.14. // // #include "common/RhodesApp.h" #include "common/ThreadQueue.h" #include "net/INetRequest.h" #include "net/HttpServer.h" #define RHO_DEVELOPMENT_SERVER_PORT 37579 class DevHTTPServer : public rho::common::CRhoThread { private: rho::common::CAutoPtr<rho::net::CHttpServer> m_httpServer; rho::common::CAutoPtr<rho::common::CThreadQueue> m_appCallbacksQueue; rho::String m_local_IP_adress; public: void init(); static DevHTTPServer* getInstance(); rho::String getLocalIPAdress(); rho::String getPort(); rho::net::CHttpServer* getHTTPServer(); protected: virtual void run(); }; extern "C" void init_Development_HTTP_Server();
Version data entries
17 entries across 17 versions & 2 rubygems