otCoapResource
    #include <coap.h>
  
代表 CoAP 資源。
摘要
| 公開屬性 | |
|---|---|
| mContext | void *應用程式專屬背景資訊。 | 
| mHandler | 用於處理接收要求的回呼。 | 
| mNext | struct otCoapResource *清單中的下一個 CoAP 資源。 | 
| mUriPath | const char *URI 路徑字串。 | 
公開屬性
mContext
void * otCoapResource::mContext
應用程式專屬背景資訊。
mUriPath
const char * otCoapResource::mUriPath
URI 路徑字串。
資源
OpenThread API 參考資料主題源自原始碼,請前往 GitHub 取得。如要瞭解詳情或對說明文件做出貢獻,請參閱資源。