struct_mg_coap_option.md 314 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
---
title: "struct mg_coap_option"
decl_name: "struct mg_coap_option"
symbol_kind: "struct"
signature: |
  struct mg_coap_option {
    struct mg_coap_option *next;
    uint32_t number;
    struct mg_str value;
  };
---

CoAP options.
Use mg_coap_add_option and mg_coap_free_options
for creation and destruction.