otCoapResource
    #include <coap.h>
  
Represents a CoAP resource.
Summary
        Public attributes | 
    |
|---|---|
        mContext
       | 
      
        void *
        Application-specific context.  
       | 
    
        mHandler
       | 
      
        
         The callback for handling a received request.  
       | 
    
        mNext
       | 
      
        struct otCoapResource *
        The next CoAP resource in the list.  
       | 
    
        mUriPath
       | 
      
        const char *
        The URI Path string.  
       | 
    
Public attributes
mContext
void * otCoapResource::mContext
Application-specific context.
mHandler
otCoapRequestHandler otCoapResource::mHandler
The callback for handling a received request.
mUriPath
const char * otCoapResource::mUriPath
The URI Path string.
Resources
OpenThread API Reference topics originate from the source code, available on GitHub. For more information, or to contribute to our documentation, refer to Resources.