coap_resource_t Struct Reference

Type for CoAP resource entry. More...

Detailed Description

Type for CoAP resource entry.

Definition at line 223 of file nanocoap.h.

#include <nanocoap.h>

Data Fields

const char * path
 URI path of resource

 
coap_method_flags_t methods
 OR'ed methods this resource allows.
 
coap_handler_t handler
 ptr to resource handler

 
void * context
 ptr to user defined context data

 

The documentation for this struct was generated from the following file: