mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-29 02:07:27 +02:00
feat(websocket): Optimize memory size for websocket client init
This commit is contained in:
10
components/esp_websocket_client/Kconfig
Normal file
10
components/esp_websocket_client/Kconfig
Normal file
@ -0,0 +1,10 @@
|
||||
menu "ESP WebSocket client"
|
||||
|
||||
config ESP_WS_CLIENT_ENABLE_DYNAMIC_BUFFER
|
||||
bool "Enable websocket client dynamic buffer for send and receive data"
|
||||
default n
|
||||
help
|
||||
Enable this option will reallocated buffer when send or receive data and free them when end of use.
|
||||
This can save about 2 KB memory when no websocket data send and receive.
|
||||
|
||||
endmenu
|
Reference in New Issue
Block a user