Function esp_idf_svc::sys::httpd_sess_set_ctx

source ยท
pub unsafe extern "C" fn httpd_sess_set_ctx(
    handle: *mut c_void,
    sockfd: i32,
    ctx: *mut c_void,
    free_fn: Option<unsafe extern "C" fn(_: *mut c_void)>,
)
Expand description

@brief Set session context by socket descriptor

@param[in] handle Handle to server returned by httpd_start @param[in] sockfd The socket descriptor for which the context should be extracted. @param[in] ctx Context object to assign to the session @param[in] free_fn Function that should be called to free the context