Function esp_idf_svc::sys::esp_http_client_write

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

@brief This function will write data to the HTTP connection previously opened by esp_http_client_open()

@param[in] client The esp_http_client handle @param buffer The buffer @param[in] len This value must not be larger than the write_len parameter provided to esp_http_client_open()

@return - (-1) if any errors - Length of data written