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-07-04
- Revision:
- 5:473a66ae9596
- Parent:
- 4:0b5a199e91f3
- Child:
- 8:60d99da6eeb2
File content as of revision 5:473a66ae9596:
#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