pub unsafe extern "C" fn protocomm_httpd_stop(
    pc: *mut protocomm_t
) -> esp_err_t
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