mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-18 19:31:02 +00:00
Docs are generated for Mongoose
Comments in headers are changed a bit: removed adoc-specific stuff, markdown is used instead PUBLISHED_FROM=9242cce85cc52a47a197d377e7e23804721a6bb5
This commit is contained in:
1 parent
d38b0dbf5b
commit
7bed7ff482
169 files changed
+3375
-29
No files matched your search
@@ -0,0 +1,19 @@
|
||||
---
|
||||
title: "mg_set_ssl()"
|
||||
decl_name: "mg_set_ssl"
|
||||
symbol_kind: "func"
|
||||
signature: |
|
||||
const char *mg_set_ssl(struct mg_connection *nc, const char *cert,
|
||||
const char *ca_cert);
|
||||
---
|
||||
|
||||
Enable SSL for a given connection.
|
||||
`cert` is a server certificate file name for a listening connection,
|
||||
or a client certificate file name for an outgoing connection.
|
||||
Certificate files must be in PEM format. Server certificate file
|
||||
must contain a certificate, concatenated with a private key, optionally
|
||||
concatenated with parameters.
|
||||
`ca_cert` is a CA certificate, or NULL if peer verification is not
|
||||
required.
|
||||
Return: NULL on success, or error message on error.
|
||||
|
||||
Reference in new issue
Block a user