def client.complete.ready
bend-kit-http2@0.4.0.0 · http2.bend:879
import bend-kit-http2@0.4.0.0/http2.bend as Http2
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
879def client.complete.ready(+id: U32, headers: List<&2, Hpack.Field>, body: Bytes.Bytes,
880 tail: List<&1, Stream>, input: Bytes.Bytes, encoder: Hpack.State,
881 decoder: Hpack.State, control: Control, writes: List<&1, Bytes.Bytes>) -> Reply:
882 Control{next, +active, frame_max, initial, max_streams, connection, recv,
883 first, ack, continuation, goaway} = control
884 Advanced{Client{input, tail, encoder, decoder,
885 Control{next, (active - 1 : U32), frame_max, initial, max_streams,
886 connection, recv, first, ack, continuation, goaway}},
887 writes, [Response{id, headers, body}]}