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: DebugLib EthernetInterface cantcoap mbed-rtos
Fork of yeswecancoap by
request.h
- Committer:
- sillevl
- Date:
- 2015-10-21
- Revision:
- 7:1bed29e1b0a4
- Parent:
- 6:0c477f5b79ff
- Child:
- 24:8319d71d6749
File content as of revision 7:1bed29e1b0a4:
#pragma once #include "cantcoap.h" class Request : protected CoapPDU { public: Request(); Request(uint8_t *pdu, int pduLength); Request(uint8_t *buffer, int bufferLength, int pduLength); using CoapPDU::Type; using CoapPDU::Code; using CoapPDU::getType; using CoapPDU::getCode; char* getContent(); int getContentLength(); int hasContent(); /* int getMessageId(); int getToken();*/ //using getContentFormat(); //getOptions(); };