mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 12:35:28 +00:00
ci: partially enable example build for esp32c2
This commit is contained in:

committed by
morris

parent
acd4ca0f6e
commit
f7be540222
@@ -1,3 +1,6 @@
|
||||
| Supported Targets | ESP32 | ESP32-S2 | ESP32-S3 | ESP32-C3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- |
|
||||
|
||||
# Websocket echo server
|
||||
|
||||
(See the README.md file in the upper level 'examples' directory for more information about examples.)
|
||||
@@ -24,7 +27,7 @@ We register the URI handler with the standard API `httpd_register_uri_handler()`
|
||||
```c
|
||||
static const httpd_uri_t ws_uri_handler_options = {
|
||||
... // httpd options
|
||||
|
||||
|
||||
.is_websocket = true, // Mandatory: set to `true` to handler websocket protocol
|
||||
.handle_ws_control_frames = false, // Optional: set to `true` for the handler to receive control packets, too
|
||||
.supported_subprotocol = "chat", // Optional: set supported subprotocol for this handler
|
||||
|
Reference in New Issue
Block a user