mg_printf_websocket_frame.md 401 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
---
title: "mg_printf_websocket_frame()"
decl_name: "mg_printf_websocket_frame"
symbol_kind: "func"
signature: |
  void mg_printf_websocket_frame(struct mg_connection *nc, int op_and_flags,
                                 const char *fmt, ...);
---

10
Sends WebSocket frame to the remote end.
11

12
Like `mg_send_websocket_frame()`, but allows to create formatted messages
13 14
with `printf()`-like semantics.