mongoose/docs/c-api/util.h/mg_hexdump_connection.md
Dmitry Frank 7bed7ff482 Docs are generated for Mongoose
Comments in headers are changed a bit: removed adoc-specific stuff,
markdown is used instead

PUBLISHED_FROM=9242cce85cc52a47a197d377e7e23804721a6bb5
2016-03-21 13:29:29 +01:00

557 B

title decl_name symbol_kind signature
mg_hexdump_connection() mg_hexdump_connection func void mg_hexdump_connection(struct mg_connection *nc, const char *path, const void *buf, int num_bytes, int ev);

Generates human-readable hexdump of the data sent or received by connection. path is a file name where hexdump should be written. num_bytes is a number of bytes sent/received. ev is one of the MG_* events sent to an event handler. This function is supposed to be called from the event handler.