Function esp_idf_sys::esp_http_client_set_user_data

source ·
pub unsafe extern "C" fn esp_http_client_set_user_data(
    client: esp_http_client_handle_t,
    data: *mut c_void,
) -> esp_err_t
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