Yes We Can / yeswecancoap

Dependencies:   DebugLib EthernetInterface cantcoap mbed-rtos

Dependents:   COAP coap

Fork of yeswecancoap by Sille Van Landschoot

Revision:
3:e03960f91763
Parent:
1:ab04e3d36ade
Child:
5:1924c60356d0
diff -r ab04e3d36ade -r e03960f91763 request.h
--- a/request.h	Tue Oct 20 18:57:05 2015 +0000
+++ b/request.h	Tue Oct 20 20:57:45 2015 +0000
@@ -3,6 +3,13 @@
 class Request{
     
     public:
-    
+    Request();
     void respond(char*, int size);
+    
+    char* getPayload();
+    int getPayLoadSize();
+    
+    private:
+    char* payload;
+    int payloadSize;
 };
\ No newline at end of file