Function esp_idf_hal::sys::protocomm_httpd_stop

source ยท
pub unsafe extern "C" fn protocomm_httpd_stop(
    pc: *mut protocomm,
) -> i32
Expand description

@brief Stop HTTPD protocomm transport

This API cleans up the HTTPD transport protocomm and frees all the handlers registered with the protocomm.

@param[in] pc Same protocomm instance that was passed to protocomm_httpd_start()

@return

  • ESP_OK : Success
  • ESP_ERR_INVALID_ARG : Null / incorrect protocomm instance pointer