BSB Developer Docs
Loading...
Searching...
No Matches
mongoose_tls.h
Go to the documentation of this file.
1
8#pragma once
9
10#include <mongoose.h>
11
12#include <toolbox/tls_config.h>
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
27bool mongoose_tls_init(struct mg_connection* conn, const char* url, const TlsConfig* tls_config);
28
29#ifdef __cplusplus
30}
31#endif
bool mongoose_tls_init(struct mg_connection *conn, const char *url, const TlsConfig *tls_config)
Initialise the TLS layer for the given Mongoose connection.
Definition mongoose_tls.c:370
TLS configuration structure.
Definition tls_config.h:47
TLS configuration data structure.