mg_connect_http_opt.md 404 Bytes
Newer Older
1 2 3 4 5
---
title: "mg_connect_http_opt()"
decl_name: "mg_connect_http_opt"
symbol_kind: "func"
signature: |
6 7
  struct mg_connection *mg_connect_http_opt(
      struct mg_mgr *mgr, MG_CB(mg_event_handler_t ev_handler, void *user_data);
8 9
---

10
Helper function that creates an outbound HTTP connection.
11

12 13 14
Mostly identical to mg_connect_http, but allows you to provide extra
*parameters
(for example, SSL parameters) 
15