mongoose/docs/c-api/net.h/mg_event_handler_t.md

12 lines
315 B
Markdown
Raw Normal View History

---
title: "mg_event_handler_t"
decl_name: "mg_event_handler_t"
symbol_kind: "typedef"
signature: |
typedef void (*mg_event_handler_t)(struct mg_connection *, int ev, void *);
---
Callback function (event handler) prototype, must be defined by user.
Mongoose calls event handler, passing events defined below.