pub unsafe extern "C" fn s2n_config_set_session_cache_onoff(
    config: *mut s2n_config,
    enabled: u8
) -> i32
Expand description

Enable or disable session caching.

@note Session caching will not be turned on unless all three session cache callbacks are set prior to calling this function.

@param config The configuration object being updated @param enabled The configuration object being updated. Set to 1 to enable. Set to 0 to disable. @returns S2N_SUCCESS on success. S2N_FAILURE on failure