ifdef some ESP8266 specific stuff

rework readWait
This commit is contained in:
Markus Sattler
2015-05-24 18:00:35 +02:00
parent 259ea32850
commit d5c3e17a25
2 changed files with 20 additions and 12 deletions

View File

@ -458,7 +458,7 @@ void WebSocketsServer::handleHeader(WSclient_t * client) {
client->status = WSC_CONNECTED;
client->tcp.write("HTTP/1.1 101 Switching Protocols\r\n"
"Server: ESP8266-WebSocketsServer\r\n"
"Server: arduino-WebSocketsServer\r\n"
"Upgrade: websocket\r\n"
"Connection: Upgrade\r\n"
"Sec-WebSocket-Version: 13\r\n"