Commit Graph

228 Commits

Author SHA1 Message Date
mavyfaby
751cf87b6c feat(socketio): add disconnect function 2023-05-23 18:03:07 +02:00
Links
a215cca4fe bump version 2.4.1 2023-05-01 15:02:36 +02:00
Links
7eda34f345 add RP2040 as supported and bump version 2023-05-01 14:51:36 +02:00
Links
a4f13a1410 clang-format 2023-05-01 14:36:26 +02:00
Earle F. Philhower, III
d9a5c629f0 Port to Raspberry Pi Pico W core
Add support for the onboard WiFi chip on the Raspberry Pi Pico W
(RP2040 based ) board using the arduino-pico Arduino core at
https://github.com/earlephilhower/arduino-pico

The PicoW WiFi stack is a mashup of the ESP8266 and ESP32 cores, so
only minimal changes were required.  Defines a new NETWORK_TYPE for
the PicoW.

ESP8266 examples renames to ESP8266_PICO because they all work unmodified
(except for OTA which is handled differently on the Pico)
2023-05-01 08:50:01 +02:00
jakubdybczak
323592f622 Add possibility to change WEBSOCKETS_TCP_TIMEOUT 2022-08-22 14:28:19 +02:00
skwad77
dd8675c6a9 don't update cSessionId on unwanted Set-Cookie 2022-06-24 10:57:33 +02:00
sivar2311
3073c156b1 Fix compiler warning "function may return address of local variable" 2022-06-24 10:26:43 +02:00
Links
5881a99a30 bump version to 2.3.7 2022-04-05 20:07:59 +02:00
Links
28c0cf3094 fix #728 dropNativeClient null ptr 2022-04-05 19:11:11 +02:00
Links
ab9af162b2 fix code style 2022-04-05 19:10:57 +02:00
Khoi Hoang
61ea44942e Suppress esp32/sha.h warning 2022-04-05 18:55:48 +02:00
mvermand22
108090e8cf Update WebSocketsServer.cpp
Created a dummy client in order to be able to drop the TCP Client.
2021-09-10 22:55:37 +02:00
Links
46b2ae1c97 fix #695, #696 2021-07-14 19:28:25 +02:00
Links
27f86a10ad allow access to setExtraHeaders and setReconnectInterval for SocketIOclient
fix: #690
2021-07-09 17:17:42 +02:00
Hasenradball
860ac9da69 Prevent Compiler Warning: --> add // falls through
prevent Compiler warning by adding // falls through to imform compiler.
2021-06-20 09:22:41 +02:00
Links
a14b6b73b4 bump version to 2.3.6 2021-03-08 17:22:23 +01:00
Links
ed685e551f fix _fingerprint is set checks for ESP32
see #633 and #632
2021-03-07 13:46:37 +01:00
Links
f55bf8d4ed bump version to 2.3.5 2021-02-09 18:26:21 +01:00
Links
4355199120 bump version 2.3.4 2021-01-31 20:31:52 +01:00
Links
3a2b757155 EIO=4 ping handling #611 2021-01-31 10:28:15 +01:00
Links
900d81e534 make WSclient_t * newClient(WEBSOCKETS_NETWORK_CLASS * TCPclient); public 2021-01-19 16:59:03 +01:00
Links
0ecef8c552 Fixing WebSocket Close see #610 2021-01-19 16:58:37 +01:00
Links
410489f7c5 bump version to 2.3.3 2021-01-07 10:27:42 +01:00
Links
ec22d67c12 version.py can now create WebSocketsVersion.h 2021-01-07 10:24:23 +01:00
Links
39e6a8e709 print version in DEBUG mode 2021-01-07 10:14:30 +01:00
Links
fd83d6ad45 add WebSocketsVersion.h and some build checks 2021-01-07 09:59:49 +01:00
Links
822618f606 code style fix 2021-01-05 21:18:30 +01:00
david gauchard
ebb87cdc8a + constructors for scalars 2020-11-26 19:33:18 +01:00
david gauchard
e7ab913693 fix clearing _Client[] 2020-11-26 19:33:18 +01:00
david gauchard
52547ec47c fix clients init logic 2020-11-26 19:33:18 +01:00
david gauchard
74411bf729 use native contructor and destructor to initialize WSclient_t 2020-11-26 19:33:18 +01:00
Links
c5900db636 add handling for Socket.IO V3 connection 2020-11-21 16:19:59 +01:00
Links
9470961d85 socket.io improve Cookie handling 2020-11-21 16:19:08 +01:00
Links
04919f848f only try to send socket.io messages in WSC_CONNECTED state
handle sIOtype_CONNECT messages
send 2probe on websocket connect (#574)
2020-11-21 16:17:43 +01:00
Links
08caf3bfc6 code style 2020-11-21 14:45:53 +01:00
Links
fb26433e75 add error messages if Webserver Hook Functions are not supported by platform 2020-11-21 14:33:25 +01:00
Links
4f52a0f38e cleanup server client init 2020-11-21 14:07:32 +01:00
Links
f20fbbfcd9 code style 2020-11-21 14:07:14 +01:00
Links
28cd929e7e code style 2020-11-21 14:06:30 +01:00
david gauchard
826c6b423a esp8266: share port 80 with regular webserver (#575) 2020-11-21 13:51:16 +01:00
James Stubbington
7fea0b8bdf Fix for Newline in Headers when extraHeaders is Empty [577] (#578)
Closes https://github.com/Links2004/arduinoWebSockets/issues/577
2020-11-14 18:17:10 +01:00
Links
4db14451fb clang-format 2020-10-26 17:04:19 +01:00
itay7564
80bf087cd0 Add SSL client certificate support (#572)
* Add client certificate support

allows WiFiClientSecureBearSSL users to use client certificate and private key for the WebSocker.
also added SSL functions for socket.io
2020-10-26 17:01:31 +01:00
Markus
13a304a8c9 Merge pull request #569 from Links2004/esp8266_bareSSL_native
ESP8266 bare ssl native
2020-10-04 15:40:43 +02:00
Markus
9b873978ba Merge pull request #566 from simap/master
avoid flush on esp32, add/fix debugs, longer yield when waiting for data
2020-10-04 15:31:15 +02:00
Links
ca52afeec0 code style 2020-10-04 15:11:06 +02:00
Links
91b02341ba Native BareSSL support for ESP8266
see #557, #509, #492, #555, #352
2020-10-04 14:49:22 +02:00
lucalas
c73c77e988 Add check to set fingerprint; 2020-10-02 09:29:55 +02:00
lucalas
e1ddbfe1a5 Format Code; 2020-10-01 01:14:01 +02:00