Function esp_idf_hal::sys::esp_http_client_read_response
source ยท pub unsafe extern "C" fn esp_http_client_read_response(
client: *mut esp_http_client,
buffer: *mut i8,
len: i32,
) -> i32
Expand description
@brief Helper API to read larger data chunks
This is a helper API which internally calls esp_http_client_read
multiple times till the end of data is reached or till the buffer gets full.
@param[in] client The esp_http_client handle @param buffer The buffer @param[in] len The buffer length
@return - Length of data was read