Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: NySNICInterface mbed-rtos mbed
Fork of RESTServerSample by
RequestHandler.h
- Committer:
- komoritan
- Date:
- 2015-02-10
- Revision:
- 0:998e2e00df0c
File content as of revision 0:998e2e00df0c:
#ifndef REQUEST_HANDLER
#define REQUEST_HANDLER
#include "RPCObject.h"
class RequestHandler
{
public :
virtual int handle(RPCObject& cmd, char* reply) = 0;
protected :
};
class GetRequestHandler : public RequestHandler
{
public :
virtual int handle(RPCObject& cmd, char* reply);
};
class PostRequestHandler : public RequestHandler
{
public :
virtual int handle(RPCObject& cmd, char* reply);
};
class DeleteRequestHandler : public RequestHandler
{
public :
virtual int handle(RPCObject& cmd, char* reply);
};
#endif

