mongoose/docs/c-api/http.h/mg_connect_http_opt.md
2016-07-22 16:21:30 +01:00

689 B

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

Helper function that creates an outbound HTTP connection.

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