Skip to main content

session_create

Function session_create 

Source
pub fn session_create(
    sam_addr: &SocketAddr,
    session_id: &str,
    private_key_b64: &str,
) -> Result<TcpStream, SamError>
Expand description

Create a STREAM session. Returns the control socket which must remain open for the session’s lifetime.