Http2.client.data.stream.state: def of bend-kit-http2@0.4.0.0 Import: import bend-kit-http2@0.4.0.0/http2.bend as Http2 Lines 1115-1127 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=1115&end_line=1127 import Base import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes import bend-kit-http2@0.4.0.0/hpack.bend as Hpack def client.data.stream.state(open: Bool, available: Bool, +id: U32, +len: U32, +end_stream: Bool, content: Bytes.Bytes, s: Stream, tail: List<&1, Stream>, input: Bytes.Bytes, encoder: Hpack.State, decoder: Hpack.State, control: Control) -> Reply: match open: case False{}: client.fail(1, False{}, id) case True{}: match available: case False{}: client.fail(3, False{}, id) case True{}: client.data.content.updated(client.data.updates(len, end_stream, id), end_stream, content, s, tail, input, encoder, decoder, control) Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=Bytes https://jend.leeeet.dev/definition.txt?path=bend-kit-http2@0.4.0.0/hpack.bend&name=State https://jend.leeeet.dev/definition.txt?path=bend-kit-http2@0.4.0.0/http2.bend&name=Control 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 https://jend.leeeet.dev/definition.txt?path=bend-kit-http2@0.4.0.0/http2.bend&name=client.data.content.updated https://jend.leeeet.dev/definition.txt?path=bend-kit-http2@0.4.0.0/http2.bend&name=client.data.updates https://jend.leeeet.dev/definition.txt?path=bend-kit-http2@0.4.0.0/http2.bend&name=client.fail