Function esp_idf_hal::sys::esp_http_client_set_user_data

source ·
pub unsafe extern "C" fn esp_http_client_set_user_data(
    client: *mut esp_http_client,
    data: *mut c_void,
) -> i32
Expand description

@brief Set http request user_data. The value passed in +data+ will be available during event callbacks. No memory management will be performed on the user’s behalf.

@param[in] client The esp_http_client handle @param[in] data The pointer to the user data

@return - ESP_OK - ESP_ERR_INVALID_ARG