Http.h2.response.final: def of bend-kit-http@0.38.4.0 Import: import bend-kit-http@0.38.4.0/http.bend as Http Lines 3222-3229 of bend-kit-http@0.38.4.0/http.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-http@0.38.4.0/http.bend&start_line=3222&end_line=3229 import Base import bend-kit-http2@0.4.0.0/hpack.bend as Hpack import bend-kit-bytes@0.3.3.0/bytes.bend as HBytes import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes def h2.response.final(interim: Bool, +status: U32, headers: List<&2, Hpack.Field>, body: HBytes.Bytes) -> Result<&1, &1, Err, Maybe<&1, Res>>: match interim: case True{}: Done{None{}} case False{}: HBytes.Bytes{len, buf} = body Done{Some{Res{status, h2.response.headers(headers, empty()), Bytes.Bytes{len, buf}}}} 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=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result 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=Field https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.4.0/http.bend&name=Err https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.4.0/http.bend&name=Res https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.4.0/http.bend&name=empty https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.4.0/http.bend&name=h2.response.headers