Function tlsn_core::fixtures::session_header

source ·
pub fn session_header(
    root: MerkleRoot,
    sent_len: usize,
    recv_len: usize
) -> SessionHeader
Expand description

Returns a session header fixture using the given transcript lengths and merkle root.

§Arguments

  • root - The merkle root of the transcript commitments.
  • sent_len - The length of the sent transcript.
  • recv_len - The length of the received transcript.