mirror of
https://github.com/Links2004/arduinoWebSockets.git
synced 2025-07-17 09:12:05 +02:00
add needed includes
This commit is contained in:
@ -15,6 +15,9 @@
|
|||||||
|
|
||||||
// LIBRARIES
|
// LIBRARIES
|
||||||
|
|
||||||
|
#include <Arduino.h>
|
||||||
|
#include <Hash.h>
|
||||||
|
|
||||||
#include <ESP8266WiFi.h>
|
#include <ESP8266WiFi.h>
|
||||||
#include <WebSocketsClient.h>
|
#include <WebSocketsClient.h>
|
||||||
|
|
||||||
@ -52,7 +55,7 @@ void webSocketEvent(WStype_t type, uint8_t * payload, size_t length) {
|
|||||||
USE_SERIAL.printf("[WSc] Connected to url: %s\n", payload);
|
USE_SERIAL.printf("[WSc] Connected to url: %s\n", payload);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case WStype_TEXT:
|
case WStype_TEXT:
|
||||||
{
|
{
|
||||||
// #####################
|
// #####################
|
||||||
// handle STOMP protocol
|
// handle STOMP protocol
|
||||||
|
Reference in New Issue
Block a user