Commit Graph

169 Commits

Author SHA1 Message Date
358d8c769e added subprotocol for ssl client also 2016-01-24 17:08:22 +00:00
1275914c86 first parts of client working 2016-01-24 00:52:23 +01:00
790a922d5a add deprecated warning for loop in async mode
fix sync mode
2016-01-23 18:41:45 +01:00
5c2c257526 fix server disconnect problems 2016-01-23 18:34:30 +01:00
57e30e0634 First steps to do async 2016-01-23 16:27:02 +01:00
3e0b0bd377 updated with upstream, added subprotocol to client 2016-01-20 23:56:09 +00:00
ece771a275 add support for setting:
- Access-Control-Allow-Origin (#25)
 - Sec-WebSocket-Protocol ()

add _server->close(); for ESP
2016-01-14 17:28:00 +01:00
cf7652a371 allow usage of std::bind for Event callback 2016-01-11 10:37:27 +01:00
21e959c013 fix #38 1.4 2016-01-07 01:21:09 +01:00
ccbef0fced Update library.json 2015-12-29 12:15:18 +01:00
431c5d17b9 Merge pull request #35 from ivankravets/patch-1
@PlatformIO Library Registry manifest file
2015-12-29 12:00:39 +01:00
5f9e30e908 @PlatformIO Library Registry manifest file
* This library in Web Registry: http://platformio.org/#!/lib/show/549/WebSockets
* Specification: [library.json](http://docs.platformio.org/en/latest/librarymanager/config.html)
* Library Manager:  http://docs.platformio.org/en/latest/librarymanager/index.html
2015-12-29 00:45:20 +02:00
21e092d179 code cleanup
improve readWait error handling
2015-12-28 16:33:54 +01:00
b24f021d33 update README.md 2015-12-28 03:25:01 +01:00
ff33056309 try to send data in one TCP packed if possible,
add random mask support for short frames.
may helps with #34
2015-12-28 03:19:45 +01:00
848979ecf0 use String to store fingerprint
(const char * can be invalidate based on which scope it coming from)
move _fingerprint to Client class only (server not need it)
2015-12-24 12:58:05 +01:00
167e61823c Merge pull request #31 from schokocappucino/master
verify ssl certificate fingerprint
2015-12-24 12:47:54 +01:00
07bd519940 disconnect on certificate mismatch 2015-12-24 04:52:05 +01:00
73680279f5 verify ssl certificate fingerprint 2015-12-24 04:47:11 +01:00
24eb13cf44 add WebSocketClientAVR example 1.3 2015-12-10 11:18:28 +01:00
83ac64b72b add support for AVR
this need some more testing but basics are done
2015-12-10 11:16:08 +01:00
098c488ff0 add beginSSL 2015-12-10 10:10:06 +01:00
093797a815 first step for SSL (wss) support 2015-12-10 09:36:18 +01:00
7a22dad9d1 try to improve
see: #23
2015-12-05 11:43:03 +01:00
92a63e9129 fix problems with ESP8266 core version 2.0.0 2015-11-30 19:46:37 +01:00
082f5192c0 add Gitter
fix examples/WebSocketServer_LEDcontrol/WebSocketServer_LEDcontrol.ino
2015-11-27 00:45:43 +01:00
fb47a92f35 bump version 1.2 2015-11-26 15:20:14 +01:00
111b32d566 Merge remote-tracking branch 'remotes/origin/master' 2015-11-26 15:19:32 +01:00
3aa0deac74 add LED control example
command out all echos
2015-11-26 15:19:07 +01:00
888fd853b6 Merge pull request #17 from marvinroger/patch-1
Add library category
2015-11-06 14:35:34 +01:00
0d6013ce0e Add library category 2015-11-06 14:32:24 +01:00
d5b0364f5c allow override of CB handling
see #14
2015-10-31 11:37:07 +01:00
187a4ac823 bump version
optimize String usage (less malloc / realloc)
remove double debug line
1.1
2015-10-21 17:17:09 +02:00
d2d06b59a4 Merge pull request #13 from jc19000/master
Update websocket client handshake
2015-10-21 17:10:06 +02:00
b60599dcd7 Update websocket client handshake
Sending handshake with only one tcp.write.

Note: it solve connection problem with the QT websocket server.
2015-10-20 22:05:08 +02:00
39f912b982 add possibility to add Header To Payload to save one TCP package
see #12
1.0
2015-10-11 10:11:32 +02:00
ad1e609850 change private to protected (see #10) 2015-08-26 19:15:37 +02:00
03185498e8 allow overriding the handling of Non Websocket Connection by extending the class.
see #10
2015-08-08 19:54:36 +02:00
516b1047f8 not send data if still in HTTP header handling 2015-07-26 13:07:45 +02:00
afe1a2b9d3 Handle header name case Insensitive
see RFC2616 and #8
2015-07-26 11:08:02 +02:00
aebdc46337 fix wrong printf parameter
improve Serial Usage
2015-07-20 19:29:37 +02:00
cf3ca5fde2 fix #6
Firefox send more then Upgrade in Connection header
2015-07-15 10:09:07 +02:00
28b7619419 allow any "case" for Upgrade
RFC6455:
An |Upgrade| header field containing the value "websocket", treated as an ASCII case-insensitive value.
2015-06-17 10:39:27 +02:00
f118a13d0f allow "Upgrade: WebSocket" for client 2015-06-17 10:33:42 +02:00
b71ec80621 Merge remote-tracking branch 'remotes/origin/master' 2015-06-17 10:27:21 +02:00
1a533cd15c first steps to allow sending continuation frame 2015-06-17 10:27:01 +02:00
7851327d3b Merge pull request #3 from tripzero/master
Add case for 'Upgrade: WebSocket'
2015-06-17 10:23:40 +02:00
988ea5cffe Add case for 'Upgrade: WebSocket' 2015-06-12 23:59:42 -07:00
d5c3e17a25 ifdef some ESP8266 specific stuff
rework readWait
2015-05-24 18:00:35 +02:00
259ea32850 update library.properties 2015-05-24 16:09:55 +02:00