Skip to content
This repository was archived by the owner on Jan 29, 2023. It is now read-only.

Commit 24b0121

Browse files
authored
v2.15.0 to use Ethernet_Generic library
### Release v2.15.0 1. Use new [Ethernet_Generic library](https://github.com/khoih-prog/Ethernet_Generic) as default for W5x00. 2. Sync with `arduinoWebSockets v2.3.6` 3. Add examples and rewrite all the examples to support new features 4. Update `Packages' Patches`
1 parent 0e8180c commit 24b0121

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SocketIOclient_Generic.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,12 @@ class SocketIOclient : protected WebSocketsClient
148148
void configureEIOping(bool disableHeartbeat = false);
149149

150150
// KH, add v2.5.1
151-
void setReconnectInterval(const unsigned long& time)
151+
inline void setReconnectInterval(const unsigned long& time)
152152
{
153153
_reconnectInterval = time;
154154
}
155155

156-
void setExtraHeaders(const char * extraHeaders = nullptr)
156+
inline void setExtraHeaders(const char * extraHeaders = nullptr)
157157
{
158158
WebSocketsClient::setExtraHeaders(extraHeaders);
159159
}

0 commit comments

Comments
 (0)