Using client-side SSL context for mg_connect()

This commit is contained in:
Sergey Lyubka committed 2012-07-28 18:57:04 +01:00
1 parent 104480ed9c
commit e6bb39a2d3
2 files changed
+49 -30

No files matched your search

+4
View File
@@ -226,6 +226,10 @@ struct mg_connection *mg_connect(struct mg_context *ctx,
const char *host, int port, int use_ssl);
// Close the connection opened by mg_connect().
void mg_close_connection(struct mg_connection *conn);
// Download given URL to a given file.
// url: URL to download
// path: file name where to save the data