Changed the server certificate verification API

This commit is contained in:
yhirose committed 2019-05-07 16:54:51 -04:00
1 parent 03a577cccd
commit b08e22ab00
3 files changed
+8 -6

No files matched your search

+2
View File
@@ -209,6 +209,8 @@ SSL support is available with `CPPHTTPLIB_OPENSSL_SUPPORT`. `libssl` and `libcry
SSLServer svr("./cert.pem", "./key.pem");
SSLClient cli("localhost", 8080);
cli.set_ca_cert_path("./ca-bundle.crt");
cli.enable_server_certificate_verification(true);
```
Zlib Support