Function esp_idf_hal::sys::httpd_req_get_url_query_len

source ยท
pub unsafe extern "C" fn httpd_req_get_url_query_len(
    r: *mut httpd_req,
) -> usize
Expand description

@brief Get Query string length from the request URL

@note This API is supposed to be called only from the context of a URI handler where httpd_req_t* request pointer is valid

@param[in] r The request being responded to

@return

  • Length : Query is found in the request URL
  • Zero : Query not found / Null arguments / Invalid request