Create a way to enable the usage of external or any other kind of memory allowed in heap_caps_malloc and heap_caps_calloc to be used in the websocket.
The memory_type directive was included in the esp_websocket_client_config_t structure and all functions was update to use the memory type defined, if not defined ot wrong type/bitwise it will use the MALLOC_CAP_INTERNAL, otherwise will use it.
Also the http_auth_basic function was also update to use the correct memory region set.
Create a way to enable the usage of external or any other kind of memory allowed in heap_caps_malloc and heap_caps_calloc to be used in the websocket.
The memory_type directive was included in the esp_websocket_client_config_t structure and all functions was update to use the memory type defined, if not defined ot wrong type/bitwise it will use the MALLOC_CAP_INTERNAL, otherwise will use it.
Also the http_auth_basic function was also update to use the correct memory region set.