mongoose/docs/c-api/coap.h/mg_coap_add_option.md
Dmitry Frank 849ec1684a Apply Mongoose docs edits by Ev
PUBLISHED_FROM=5cd78790a03580aa23dd3d2d8b825ad449083cc2
2016-07-26 15:06:04 +00:00

402 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.