Files
esp-protocols/components/esp_websocket_client
Paolo Pasinetti 2432e41dcb fix(websocket): avoid long stopping time when waiting to auto-reconnect
This commit fixes an issue that occurred when auto-reconnection is enabled,
and the client is disconnected from the server. In this situation, if the
esp_websocket_client_stop() method is called, the caller could remain stuck
waiting for a maximum time equal to half of wait_timeout_ms.

This fix allows the esp_websocket_client_task to be woken up when it is
waiting to reconnect, so it can be closed promptly when requested.
2025-09-19 15:42:33 +02:00
..
2025-07-22 17:54:02 -03:00
2025-07-22 17:54:02 -03:00

ESP WEBSOCKET CLIENT

Component Registry

The esp-websocket_client component is a managed component for esp-idf that contains implementation of WebSocket protocol client for ESP32

Examples

Get started with example test example:

Documentation