![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
WIZwikiREST-io exercise code for WIZnet Academy
Dependencies: MbedJSONValue_v102 WIZnetInterface mbed
Fork of WIZwiki-REST-io_v103 by
RequestHandler.h
- Committer:
- joon874
- Date:
- 2016-10-06
- Revision:
- 10:fe96beb315e3
- Parent:
- 9:f7d5a168a693
File content as of revision 10:fe96beb315e3:
#ifndef __REQUESTHANDLER_H_ #define __REQUESTHANDLER_H_ #define DEBUG_HTTPREQ //extern void debug_info(); class RequestHandler { public : virtual void handle(char* rest_uri, char* req_data, char* reply) = 0; }; class GetRequestHandler : public RequestHandler { public : virtual void handle(char* rest_uri, char* req_data, char* reply); }; /* class PostRequestHandler : public RequestHandler { public : virtual void handle(char* rest_uri, char* req_data, char* reply); }; */ class PutRequestHandler : public RequestHandler { public : virtual void handle(char* rest_uri, char* req_data, char* reply); }; /* class DeleteRequestHandler : public RequestHandler { public : virtual void handle(char* rest_uri, char* req_data, char* reply); }; */ #endif