coap_resource_t Struct Reference

Type for CoAP resource entry. More...

Detailed Description

Type for CoAP resource entry.

Definition at line 241 of file nanocoap.h.

#include <net/nanocoap.h>

Data Fields

const char * path
 URI path of resource.
unsigned 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: