ksp stream
DocsCLIksp stream

ksp stream

Command Reference

Inspect and manage individual multiplexed streams inside an active KSP cryptographic session.

Purpose

Inspect and manage individual multiplexed streams inside an active KSP cryptographic session.

Syntax

Command-line specification
bash / powershell
ksp stream <SUBCOMMAND> [OPTIONS]

Arguments

ArgumentDescription
<SUBCOMMAND>Action: `list --session <ID>`, `reset <ID>`, or `inspect <ID>`.

Options & Flags

Option FlagDescription
--session <ID>Parent session ID containing the target stream.
--stream-id <NUM>Specific stream identifier integer.

Example Usage

Example command
ksp stream list --session 0x4B9E3A

Expected Output

Streams inside Session 0x4B9E3A:
┌───────────┬──────────────┬─────────────┬─────────────┬───────────────┐
│ Stream ID │ State        │ Bytes Sent  │ Bytes Recv  │ Priority      │
├───────────┼──────────────┼─────────────┼─────────────┼───────────────┤
│ 1 (Odd)   │ OPEN_ACTIVE  │ 12.4 KB     │ 8.1 KB      │ HIGH (0)      │
│ 3 (Odd)   │ OPEN_ACTIVE  │ 4.2 GB      │ 120 bytes   │ NORMAL (128)  │
│ 2 (Even)  │ HALF_CLOSED  │ 512 bytes   │ 0 bytes     │ LOW (255)     │
└───────────┴──────────────┴─────────────┴─────────────┴───────────────┘
Implementation Notes

Illustrates the true concurrent multiplexing power of KSP where odd IDs belong to client requests and even IDs to server pushes.