Skip to main content

refresh_session_key

Function refresh_session_key 

Source
pub async fn refresh_session_key(
    conn: &BackendConn,
    channel: SessionKeyRefreshChannelKind,
    client_key_len: usize,
) -> Result<SessionKeyRefreshOutcome>
Expand description

Send one C++-aligned session-key refresh transaction and install the key.

Timer ownership and reconnect effects belong to the gateway connection lifecycle actor. This adapter owns only request encoding, backend I/O, response decoding, and the atomic BackendConn key swap.