mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-14 16:58:30 +00:00
Updated README
This commit is contained in:
parent
26196b70af
commit
42feb7e8be
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ httplib::SSLServer svr("./cert.pem", "./key.pem");
|
|||
// Client
|
||||
httplib::Client cli("https://localhost:1234"); // scheme + host
|
||||
httplib::SSLClient cli("localhost:1234"); // host
|
||||
httplib::SSLClient cli("localhost", 1234); // host, port
|
||||
|
||||
// Use your CA bundle
|
||||
cli.set_ca_cert_path("./ca-bundle.crt");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue