Fork of HttpServer_snapshot_mbed-os library
Fork of HttpServer_snapshot_mbed-os by
Diff: Handler/RPCHandler.h
- Revision:
- 11:0700755d64ae
- Parent:
- 0:fdf9c2c5200f
--- a/Handler/RPCHandler.h Tue Apr 19 02:21:29 2016 +0000 +++ b/Handler/RPCHandler.h Fri Oct 28 06:15:29 2016 +0000 @@ -29,11 +29,11 @@ class RPCHandler : public HTTPRequestHandler { public: - RPCHandler(const char* rootPath, const char* path, TCPSocketConnection* pTCPSocketConnection); + RPCHandler(const char* rootPath, const char* path, TCPSocket* pTCPSocket); virtual ~RPCHandler(); //protected: - static inline HTTPRequestHandler* inst(const char* rootPath, const char* path, TCPSocketConnection* pTCPSocketConnection) { return new RPCHandler(rootPath, path, pTCPSocketConnection); } //if we ever could do static virtual functions, this would be one + static inline HTTPRequestHandler* inst(const char* rootPath, const char* path, TCPSocket* pTCPSocket) { return new RPCHandler(rootPath, path, pTCPSocket); } //if we ever could do static virtual functions, this would be one virtual void doGet(); virtual void doPost(); @@ -49,3 +49,4 @@ #endif +