Function esp_idf_sys::httpd_sess_set_transport_ctx

source ·
pub unsafe extern "C" fn httpd_sess_set_transport_ctx(
    handle: httpd_handle_t,
    sockfd: c_int,
    ctx: *mut c_void,
    free_fn: httpd_free_ctx_fn_t,
)
Expand description

@brief Set session ‘transport’ context by socket descriptor @see httpd_sess_set_ctx()

@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 Transport context object to assign to the session @param[in] free_fn Function that should be called to free the transport context