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: Adafruit_GFX MbedJSONValue_v102 WIZnetInterface mbed
Fork of WIZwiki-REST-io_v101 by
RequestHandler.h
00001 #ifndef __REQUESTHANDLER_H_ 00002 #define __REQUESTHANDLER_H_ 00003 00004 #define DEBUG_HTTPREQ 00005 00006 extern void debug_info(); 00007 00008 class RequestHandler 00009 { 00010 public : 00011 virtual void handle(char* rest_uri, char* req_data, char* reply) = 0; 00012 }; 00013 00014 class GetRequestHandler : public RequestHandler 00015 { 00016 public : 00017 virtual void handle(char* rest_uri, char* req_data, char* reply); 00018 00019 }; 00020 00021 class PostRequestHandler : public RequestHandler 00022 { 00023 public : 00024 virtual void handle(char* rest_uri, char* req_data, char* reply); 00025 00026 }; 00027 00028 /* 00029 class PutRequestHandler : public RequestHandler 00030 { 00031 public : 00032 virtual void handle(char* rest_uri, char* req_data, char* reply); 00033 00034 }; 00035 */ 00036 00037 /* 00038 class DeleteRequestHandler : public RequestHandler 00039 { 00040 public : 00041 virtual void handle(char* rest_uri, char* req_data, char* reply); 00042 00043 }; 00044 */ 00045 00046 #endif
Generated on Sat Jul 16 2022 07:31:59 by
1.7.2
