Loading...
Searching...
No Matches
coap_resource_t Struct Reference

Type for CoAP resource entry. More...

Detailed Description

Type for CoAP resource entry.

Definition at line 311 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

 

Field Documentation

◆ context

void* coap_resource_t::context

ptr to user defined context data

Definition at line 315 of file nanocoap.h.

◆ handler

coap_handler_t coap_resource_t::handler

ptr to resource handler

Definition at line 314 of file nanocoap.h.

◆ methods

coap_method_flags_t coap_resource_t::methods

OR'ed methods this resource allows.

Definition at line 313 of file nanocoap.h.

◆ path

const char* coap_resource_t::path

URI path of resource

Definition at line 312 of file nanocoap.h.


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