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 4cedb61 commit 389a2c9Copy full SHA for 389a2c9
libraries/SocketWrapper/src/MbedSSLClient.cpp
@@ -1,5 +1,9 @@
1
#include "MbedSSLClient.h"
2
3
+arduino::MbedSSLClient::MbedSSLClient(unsigned long timeout): MbedClient(timeout), _disableSNI{false} {
4
+ onBeforeConnect(mbed::callback(this, &MbedSSLClient::setRootCA));
5
+}
6
+
7
arduino::MbedSSLClient::MbedSSLClient(): _disableSNI{false} {
8
onBeforeConnect(mbed::callback(this, &MbedSSLClient::setRootCA));
9
};
libraries/SocketWrapper/src/MbedSSLClient.h
@@ -32,6 +32,9 @@ class MbedSSLClient : public arduino::MbedClient {
32
33
public:
34
MbedSSLClient();
35
36
+ MbedSSLClient(unsigned long timeout);
37
38
virtual ~MbedSSLClient() {
39
stop();
40
}
0 commit comments