diff --git a/README.md b/README.md index eb8b075c4e..6165702cb2 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ cli.set_ca_cert_path("./ca-bundle.crt"); cli.enable_server_certificate_verification(false); // Disable host verification -cli.enable_server_host_verification(false); +cli.enable_server_hostname_verification(false); ``` > [!NOTE]