![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Upper Version Add PUT method Delete POST method
Dependencies: Adafruit_GFX MbedJSONValue_v102 WIZnetInterface mbed
Fork of WIZwiki-REST-io_v102 by
RequestHandler.h
- Committer:
- joon874
- Date:
- 2016-09-05
- Revision:
- 8:60d99da6eeb2
- Parent:
- 5:473a66ae9596
File content as of revision 8:60d99da6eeb2:
#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