|
39f912b982
|
add possibility to add Header To Payload to save one TCP package
see #12
|
2015-10-11 10:11:32 +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 |
|
|
afe1a2b9d3
|
Handle header name case Insensitive
see RFC2616 and #8
|
2015-07-26 11:08:02 +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 |
|
|
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 |
|
|
e1e6280e82
|
first working WebSocketClient
add LGPLv2.1
|
2015-05-24 15:40:47 +02:00 |
|
|
b5dbeccdf5
|
first steps to Client
|
2015-05-23 23:51:32 +02:00 |
|
|
2798232074
|
add IPAddress remoteIP(uint8_t num)
update example
|
2015-05-23 09:47:39 +02:00 |
|
|
44c00d2dd9
|
no need to store the Sec-WebSocket-Accept key if needed can be generated by acceptKey from client Sec-WebSocket-Key
|
2015-05-23 09:34:09 +02:00 |
|
|
0ca1503e52
|
add disconnect functions
void disconnect(void);
void disconnect(uint8_t num);
|
2015-05-23 09:20:44 +02:00 |
|
|
27a9a22908
|
create overloaded functions for send and broadcast for easy usage
void sendTXT(uint8_t num, uint8_t * payload, size_t length = 0);
void sendTXT(uint8_t num, const uint8_t * payload, size_t length = 0);
void sendTXT(uint8_t num, char * payload, size_t length = 0);
void sendTXT(uint8_t num, const char * payload, size_t length = 0);
void sendTXT(uint8_t num, String payload);
void broadcastTXT(uint8_t * payload, size_t length = 0);
void broadcastTXT(const uint8_t * payload, size_t length = 0);
void broadcastTXT(char * payload, size_t length = 0);
void broadcastTXT(const char * payload, size_t length = 0);
void broadcastTXT(String payload);
void sendBIN(uint8_t num, uint8_t * payload, size_t length);
void sendBIN(uint8_t num, const uint8_t * payload, size_t length);
void broadcastBIN(uint8_t * payload, size_t length);
void broadcastBIN(const uint8_t * payload, size_t length);
send URL as payload on WStype_CONNECTED event
move Sec-WebSocket-Accept generation in function
|
2015-05-23 09:02:59 +02:00 |
|
|
2af71ab97a
|
fix memory leek
send reason code on clientDisconnect if no reason buffer is set
code style
|
2015-05-23 07:33:26 +02:00 |
|
|
f1ecfa9d20
|
first full working version of WebSocketsServer
|
2015-05-22 23:02:47 +02:00 |
|
|
a14a58dbd2
|
message browser to client working
|
2015-05-22 20:35:51 +02:00 |
|
|
e7a33beb6e
|
authentication is working
add libb64 for base64 support (todo get espressif base64 working)
|
2015-05-22 18:44:16 +02:00 |
|
|
d63e8fdafb
|
speed up connection handling
note: dont use print on tcp! to slow! (17sec vs 78ms)
use client ptr as parameter for the most functions
|
2015-05-22 14:40:46 +02:00 |
|
|
02da0e0aa7
|
begin of WebSockets Server development
receive and phasing of WebSockets Header working
|
2015-05-22 14:19:01 +02:00 |
|