diff --git a/.github/workflows/arduino-lint.yaml b/.github/workflows/arduino-lint.yaml index f99b9d4..6550c8e 100644 --- a/.github/workflows/arduino-lint.yaml +++ b/.github/workflows/arduino-lint.yaml @@ -5,6 +5,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: arduino/arduino-lint-action@v1 + - uses: arduino/arduino-lint-action@v2 with: library-manager: update diff --git a/README.md b/README.md index bc37c8a..672c649 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,7 @@ a WebSocket Server and Client for Arduino based on RFC6455. ### wss / SSL ### supported for: - wss client on the ESP8266 + - wss / SSL for ESP32 in client mode - wss / SSL is not natively supported in WebSocketsServer however it is possible to achieve secure websockets by running the device behind an SSL proxy. See [Nginx](examples/Nginx/esp8266.ssl.reverse.proxy.conf) for a sample Nginx server configuration file to enable this. diff --git a/examples/esp32/WebSocketClientSocketIOack/WebSocketClientSocketIOack.ino b/examples/esp32/WebSocketClientSocketIOack/WebSocketClientSocketIOack.ino index af3572f..0e0fb5b 100644 --- a/examples/esp32/WebSocketClientSocketIOack/WebSocketClientSocketIOack.ino +++ b/examples/esp32/WebSocketClientSocketIOack/WebSocketClientSocketIOack.ino @@ -54,7 +54,7 @@ void socketIOEvent(socketIOmessageType_t type, uint8_t * payload, size_t length) // Message Includes a ID for a ACK (callback) if(id) { - // creat JSON message for Socket.IO (ack) + // create JSON message for Socket.IO (ack) DynamicJsonDocument docOut(1024); JsonArray array = docOut.to(); @@ -130,11 +130,11 @@ void loop() { if(now - messageTimestamp > 2000) { messageTimestamp = now; - // creat JSON message for Socket.IO (event) + // create JSON message for Socket.IO (event) DynamicJsonDocument doc(1024); JsonArray array = doc.to(); - // add evnet name + // add event name // Hint: socket.on('event_name', .... array.add("event_name"); @@ -142,7 +142,7 @@ void loop() { JsonObject param1 = array.createNestedObject(); param1["now"] = (uint32_t) now; - // JSON to String (serializion) + // JSON to String (serialization) String output; serializeJson(doc, output);