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

630 B

title decl_name symbol_kind signature
mg_connect_ws_opt() mg_connect_ws_opt func struct mg_connection *mg_connect_ws_opt(struct mg_mgr *mgr, mg_event_handler_t ev_handler, struct mg_connect_opts opts, const char *url, const char *protocol, const char *extra_headers);

Helper function that creates an outbound WebSocket connection

Mostly identical to mg_connect_ws, but allows to provide extra parameters (for example, SSL parameters)