We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 825e329 commit d6c7dbbCopy full SHA for d6c7dbb
src/AudioTools/CoreAudio/AudioHttp/URLStreamESP32.h
@@ -307,6 +307,12 @@ class URLStreamESP32 : public AbstractURLStream {
307
pem_cert = cert;
308
}
309
310
+ /// Method compatible with Arduino WiFiClientSecure API
311
+ void setCACert(const char* cert){
312
+ int len = strlen(cert);
313
+ setSSLCertificate((const uint8_t*)cert, len);
314
+ }
315
+
316
protected:
317
int id = 0;
318
HttpRequest request;
0 commit comments