2016-05-12 04:36:12 +08:00
|
|
|
---
|
|
|
|
title: "mg_connect_http_opt()"
|
|
|
|
decl_name: "mg_connect_http_opt"
|
|
|
|
symbol_kind: "func"
|
|
|
|
signature: |
|
|
|
|
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);
|
|
|
|
---
|
|
|
|
|
2016-07-23 00:08:14 +08:00
|
|
|
Helper function that creates outbound HTTP connection.
|
2016-05-12 04:36:12 +08:00
|
|
|
|
2016-07-23 00:08:14 +08:00
|
|
|
Mostly identical to mg_connect_http, but allows to provide extra parameters
|
|
|
|
(for example, SSL parameters
|
2016-05-12 04:36:12 +08:00
|
|
|
|