Yes We Can / yeswecancoap

Dependencies:   DebugLib EthernetInterface cantcoap mbed-rtos

Dependents:   COAP coap

Fork of yeswecancoap by Sille Van Landschoot

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();
    
    
};