This is WIZwiki-REST-io upper version. This version possible to handle PWM, I2C, GPIO.
Dependencies: Adafruit_GFX MbedJSONValue_copy WIZnetInterface mbed
Fork of WIZwiki-REST-io by
RequestHandler.h
- Committer:
- joon874
- Date:
- 2016-07-04
- Revision:
- 5:473a66ae9596
- Parent:
- 4:0b5a199e91f3
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