mongoose/docs/c-api/mg_coap.h/mg_coap_add_option.md
Dmitry Frank 3eb4eb8074 Fix mongoose docs generation
PUBLISHED_FROM=331821dcd1f7dc8a94581cd8a9b51aa00a89fddc
2018-02-03 01:20:48 +02:00

460 B

title decl_name symbol_kind signature
mg_coap_add_option() mg_coap_add_option func struct mg_coap_option *mg_coap_add_option(struct mg_coap_message *cm, uint32_t number, char *value, size_t len);

Adds a new option to mg_coap_message structure. Returns pointer to the newly created option. Note: options must be freed by using mg_coap_free_options