We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa00511 commit ed0d6faCopy full SHA for ed0d6fa
libraries/ESP8266HTTPClient/examples/BasicHttpsClient/BasicHttpsClient.ino
@@ -41,7 +41,7 @@ void loop() {
41
42
std::unique_ptr<BearSSL::WiFiClientSecure> client(new BearSSL::WiFiClientSecure);
43
44
-#if 1 // 1=secure, 0=insecure
+#if 1 // 1=secure, 0=insecure
45
46
client->setFingerprint(fingerprint_sni_cloudflaressl_com);
47
@@ -60,7 +60,7 @@ void loop() {
60
#endif
61
62
HTTPClient https;
63
- https.setTimeout(4000); // or: client->setTimeout(4000);
+ https.setTimeout(4000); // or: client->setTimeout(4000);
64
client->setNegociationTimeout(10000);
65
66
Serial.print("[HTTPS] begin...\n");
0 commit comments