Cache container that holds a coap_pkt_t
struct.
More...
Cache container that holds a coap_pkt_t
struct.
#include <cache.h>
Data Fields | |
clist_node_t | node |
needed for clist_t, must be the first struct member! | |
uint8_t | cache_key [CONFIG_NANOCOAP_CACHE_KEY_LENGTH] |
the calculated cache key, see nanocoap_cache_key_generate(). | |
coap_pkt_t | response_pkt |
packet representation of the response | |
uint8_t | response_buf [CONFIG_NANOCOAP_CACHE_RESPONSE_SIZE] |
buffer to hold the response message. | |
size_t | response_len |
length of the message in response | |
uint8_t | request_method |
the method of the initial request | |
bool | truncated |
the cached response is truncated | |
uint32_t | max_age |
absolute system time in seconds until which this cache entry is considered valid. | |