Function esp_idf_sys::esp_http_client_init
source ยท pub unsafe extern "C" fn esp_http_client_init(
config: *const esp_http_client_config_t,
) -> esp_http_client_handle_t
Expand description
@brief Start a HTTP session This function must be the first function to call, and it returns a esp_http_client_handle_t that you must use as input to other functions in the interface. This call MUST have a corresponding call to esp_http_client_cleanup when the operation is complete.
@param[in] config The configurations, see http_client_config_t
@return
- esp_http_client_handle_t
- NULL if any errors