Function esp_idf_svc::hal::sys::esp_http_client_set_post_field

source ยท
pub unsafe extern "C" fn esp_http_client_set_post_field(
    client: *mut esp_http_client,
    data: *const i8,
    len: i32,
) -> i32
Expand description

@brief Set post data, this function must be called before esp_http_client_perform. Note: The data parameter passed to this function is a pointer and this function will not copy the data

@param[in] client The esp_http_client handle @param[in] data post data pointer @param[in] len post length

@return

  • ESP_OK
  • ESP_FAIL