1
0
mirror of synced 2025-04-21 22:25:55 +03:00

Updated README

This commit is contained in:
yhirose 2022-11-10 08:27:30 -05:00
parent 26196b70af
commit 42feb7e8be

View File

@ -65,6 +65,7 @@ httplib::SSLServer svr("./cert.pem", "./key.pem");
// Client // Client
httplib::Client cli("https://localhost:1234"); // scheme + host httplib::Client cli("https://localhost:1234"); // scheme + host
httplib::SSLClient cli("localhost:1234"); // host httplib::SSLClient cli("localhost:1234"); // host
httplib::SSLClient cli("localhost", 1234); // host, port
// Use your CA bundle // Use your CA bundle
cli.set_ca_cert_path("./ca-bundle.crt"); cli.set_ca_cert_path("./ca-bundle.crt");