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 03be367 commit 69e563eCopy full SHA for 69e563e
libraries/SocketWrapper/src/MbedClient.h
@@ -49,6 +49,10 @@ class MbedClient : public arduino::Client {
49
public:
50
MbedClient();
51
52
+ MbedClient(unsigned long timeout) {
53
+ _timeout = timeout;
54
+ }
55
+
56
// Copy constructor, to be used when a Client returned by server.available()
57
// needs to "survive" event if it goes out of scope
58
// Sample usage: Client* new_client = new Client(existing_client)
0 commit comments