Skip to main content

decode_bind_response

Function decode_bind_response 

Source
pub fn decode_bind_response(body: &[u8]) -> Result<(), String>
Expand description

Decode the server response to auth.bindTempAuthKey.

Handles bare messages AND msg_container (the server frequently bundles new_session_created + rpc_result together in a container on the very first encrypted message of a fresh temp session).