mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-03 13:28:44 +00:00
Using client-side SSL context for mg_connect()
This commit is contained in:
1 parent
104480ed9c
commit
e6bb39a2d3
2 files changed
+49
-30
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user