Http2.client.streams.prefix: def of bend-kit-http2@0.4.0.0 Import: import bend-kit-http2@0.4.0.0/http2.bend as Http2 Lines 659-668 of bend-kit-http2@0.4.0.0/http2.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-http2@0.4.0.0/http2.bend&start_line=659&end_line=668 import Base def client.streams.prefix(previous: Maybe<&1, Stream>, r: Reply) -> Reply: match previous: case None{}: r case Some{s}: match r: case Failed{error}: Failed{error} case Advanced{Client{input, streams, encoder, decoder, control}, writes, events}: Advanced{Client{input, Con{s, streams}, encoder, decoder, control}, writes, events} Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=bend-kit-http2@0.4.0.0/http2.bend&name=Client https://jend.leeeet.dev/definition.txt?path=bend-kit-http2@0.4.0.0/http2.bend&name=Reply https://jend.leeeet.dev/definition.txt?path=bend-kit-http2@0.4.0.0/http2.bend&name=Stream