pub unsafe extern "C" fn esp_https_ota_get_status_code(
https_ota_handle: *mut c_void,
) -> i32
Expand description
@brief This function returns the HTTP status code of the last HTTP response.
@note This API should be called only after esp_https_ota_begin() has been called. This can be used to check the HTTP status code of the OTA download process.
@param[in] https_ota_handle pointer to esp_https_ota_handle_t structure
@return
- -1 On failure
- HTTP status code