diff --git a/components/esp_websocket_client/include/esp_websocket_client.h b/components/esp_websocket_client/include/esp_websocket_client.h index 15fb63b7ca..9c185038f0 100644 --- a/components/esp_websocket_client/include/esp_websocket_client.h +++ b/components/esp_websocket_client/include/esp_websocket_client.h @@ -131,6 +131,8 @@ typedef struct { size_t ping_interval_sec; /*!< Websocket ping interval, defaults to 10 seconds if not set */ struct ifreq *if_name; /*!< The name of interface for data to go through. Use the default interface without setting */ esp_transport_handle_t ext_transport; /*!< External WebSocket tcp_transport handle to the client; or if null, the client will create its own transport handle. */ + int memory_type; /*!< The name of memory region type to be used in the heap_caps_malloc / heap_caps_calloc */ + int core; /*!< The core number to use, if not set it will be set to tskNO_AFFINITY */ } esp_websocket_client_config_t; /**