Commit Graph

308 Commits

Author SHA1 Message Date
ac9b2ccdf6 Merge pull request #521 from amrbekhit/patch-1
Initialize _reconnectInterval in constructor.
2020-04-01 19:09:53 +02:00
12684582aa Initialize _reconnectInterval in constructor.
This allows setReconnectInterval() to be called before begin() and stops begin() from overriding _reconnectInterval every time it is called.
2020-03-21 22:14:25 +03:00
420cc55960 Merge pull request #501 from amrbekhit/websockets_tcp_timeout_increase
Increased WEBSOCKETS_TCP_TIMEOUT to 5000ms.
2020-03-14 14:51:25 +01:00
64296cced7 Merge pull request #512 from maurus95/master
Implementing automatic WS server-side heartbeat
2020-02-15 22:27:40 +01:00
c3f01e43fc Merge pull request #514 from simap/master
read can return -1, check for this to avoid corrupting protocol
2020-02-15 22:18:48 +01:00
04e4be03fe Merge pull request #515 from simap/esp32yield
add a yield here for esp32 to avoid a busy loop
2020-02-15 22:18:08 +01:00
ebd7a528ac add a yield here for esp32 to avoid a busy loop
if data isn't available yet, but is expected, yielding here is nicer
than burning the cpu in a loop, just like in esp8266 case.
2020-02-15 06:43:46 -08:00
516911900b read can return -1, check for this to avoid corrupting protocol
fixes #470
2020-02-15 06:37:07 -08:00
674a6e98c9 Implemented HeartBeat in WebSocketsServer 2020-02-10 19:45:55 +01:00
4ee0ba5630 Increased WEBSOCKETS_TCP_TIMEOUT to 5000ms.
See https://github.com/Links2004/arduinoWebSockets/issues/500.
2019-12-24 17:03:32 +03:00
c038f100d6 Merge pull request #458 from Nufflee/patch-1
Syntax highlighting in README.md
2019-07-21 08:53:00 +02:00
0444a78441 [SocketIO] add example for use of ACK / callback handling 2019-07-20 14:24:55 +02:00
8cc20b6e4b Merge branch 'master' of github.com:Links2004/arduinoWebSockets 2019-07-20 13:47:55 +02:00
40152be197 code style 2019-07-20 13:47:40 +02:00
e2669c1c5e [SocketIO] allow to send any message 2019-07-20 13:46:59 +02:00
771831c57e Syntax highlighting in README.md 2019-07-15 23:13:38 +02:00
06a7bb177b Merge pull request #452 from luc-github/master
Fix warnings in platformIO
2019-07-04 16:12:21 +02:00
Luc
bd158c9c5c Fix warnings in platformIO
Fix : warning: enumeration value 'WStype_ERROR' not handled in switch [-Wswitch]
Fix : warning: variable 'ip' set but not used [-Wunused-but-set-variable]
2019-07-04 12:58:37 +02:00
9a803e1fb3 bump version to 2.2.0 2019-06-29 19:04:10 +02:00
c64f2b81e5 Merge pull request #449 from Links2004/socketio
Socket.IO 2.0.x Support
2.1.4
2019-06-29 18:56:31 +02:00
4ef8d733dc add missing include 2019-06-29 18:35:21 +02:00
7816bb3fa4 adding example for new socket.IO support 2019-06-29 18:31:14 +02:00
adf2b07f3b fix #447 2019-06-23 12:14:44 +02:00
d3fde2ba34 Merge pull request #442 from Links2004/gpn19
Gpn19
2019-06-20 10:41:29 +02:00
c164c47f08 Merge branch 'gpn19' into socketio 2019-06-20 10:08:36 +02:00
6a76efa791 fix #445 #446 set TCP timeout for ESP32 on connect 2019-06-20 10:06:21 +02:00
5d26a65df4 only send payload when we have a ptr and length 2019-06-20 10:02:07 +02:00
007b5ba9a8 ignore not needed WS events for SocketIO 2019-06-10 15:13:26 +02:00
dbca2ab420 SocketIO message RX is working 2019-06-10 14:57:49 +02:00
dfa35fa9ae clang-format 2019-06-10 13:31:51 +02:00
794163cec9 Merge branch 'gpn18' into socketio 2019-06-10 13:30:54 +02:00
294436840c bump version to 2.1.4 2019-06-10 13:15:11 +02:00
b1b21d188f update gitignore to Ignore IDE files from Eclipse and VScode 2019-06-10 13:02:25 +02:00
3063ad27ae clang-format 2019-06-10 13:00:01 +02:00
e8df841b7f add support for ESP32 ETH.h see #443 2019-06-10 09:29:58 +02:00
0aa07421a6 add events for ping / pong rx #382 2019-05-30 20:15:03 +02:00
df3ef524b6 fix #428 by setting Insecure if we do not have a CA or fingerprint 2019-05-30 18:24:28 +02:00
8ec27b0468 fix indexOf #430 2019-05-30 16:52:20 +02:00
c361895a4b add setCACert based on #434 2019-05-30 16:32:30 +02:00
31bade1530 test with newer arduino IDE (1.8.9) 2019-05-30 14:33:44 +02:00
4223a9e41f fix Travis 2019-05-30 14:24:57 +02:00
72731beb10 Merge pull request #383 from sovcik/master
Implementing automatic WS client-side heartbeat
2019-01-16 16:42:59 +01:00
1b6b42b877 processing client data before potential disconnect 2018-11-03 13:16:12 +01:00
d6dd7be987 disconnecting after pong not received 2018-11-03 13:15:14 +01:00
d325bd338e Merge branch 'master' into gpn18 2018-10-26 20:33:29 +02:00
d693437908 version bump 2018-10-24 08:19:02 +02:00
9b6ce7563a added example for heartbeat 2018-10-24 08:17:37 +02:00
68800e2e7a implementing heartbeat 2018-10-23 18:01:33 +02:00
eaef4f0801 Merge pull request #369 from sanketplus/master
make masking RFC complaint and fix #208
2018-09-23 18:10:30 +02:00
4db22fe5e4 make masking RFC complaint and fix #208 2018-09-23 16:49:10 +05:30