Yes We Can / yeswecancoap

Dependencies:   DebugLib EthernetInterface cantcoap mbed-rtos

Dependents:   COAP coap

Fork of yeswecancoap by Sille Van Landschoot

Committer:
sillevl
Date:
Tue Oct 20 20:57:45 2015 +0000
Revision:
3:e03960f91763
Parent:
1:ab04e3d36ade
Child:
5:1924c60356d0
resource functions working (no method filtering yet)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sillevl 1:ab04e3d36ade 1 #pragma once
sillevl 1:ab04e3d36ade 2
sillevl 1:ab04e3d36ade 3 class Request{
sillevl 1:ab04e3d36ade 4
sillevl 1:ab04e3d36ade 5 public:
sillevl 3:e03960f91763 6 Request();
sillevl 1:ab04e3d36ade 7 void respond(char*, int size);
sillevl 3:e03960f91763 8
sillevl 3:e03960f91763 9 char* getPayload();
sillevl 3:e03960f91763 10 int getPayLoadSize();
sillevl 3:e03960f91763 11
sillevl 3:e03960f91763 12 private:
sillevl 3:e03960f91763 13 char* payload;
sillevl 3:e03960f91763 14 int payloadSize;
sillevl 1:ab04e3d36ade 15 };