pub unsafe extern "C" fn esp_http_client_set_url(
    client: esp_http_client_handle_t,
    url: *const c_char
) -> esp_err_t
Expand description

@brief Set URL for client, when performing this behavior, the options in the URL will replace the old ones

@param[in] client The esp_http_client handle @param[in] url The url

@return

  • ESP_OK
  • ESP_FAIL