def client.window.stream.handle

bend-kit-http2@0.4.0.0 · http2.bend:778

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

778def client.window.stream.handle(+value: U32, s: Stream, tail: List<&1, Stream>,
779    input: Bytes.Bytes, encoder: Hpack.State, decoder: Hpack.State, control: Control) -> Reply:
780  Stream{+id, +send_window, recv_window, local_end, remote_end, head, headers, partial, body, outgoing} = s
781  client.window.stream.valid(client.window.plus(send_window, value), id,
782    Stream{id, send_window, recv_window, local_end, remote_end, head, headers, partial, body, outgoing},
783    tail, input, encoder, decoder, control)

Uses (9)

Used by (1)