Expand description
Per-request stream state shared by the H1 and H2 mux paths.
A Stream owns the front/back kawa buffers, HTTP context, and metrics
for a single request/response pair. StreamParts splits it along the
read/write axis so callers can borrow both sides of the pipe at the same
time without fighting the borrow checker.
Structs§
- Stream
- Stream
Parts - This struct allows to mutably borrow the read and write buffers (dependant on the position) as well as the context and metrics of a Stream at the same time