def client.window.connection.valid
bend-kit-http2@0.4.0.0 · http2.bend:747
import bend-kit-http2@0.4.0.0/http2.bend as Http2
import Base
747def client.window.connection.valid(m: Maybe<&1, U32>, c: Client) -> Reply:
748 match m:
749 case None{}:
750 client.fail(3, True{}, 0)
751 case Some{w}:
752 Client{input, streams, encoder, decoder, +control} = c
753 Control{next, active, +frame_max, initial, max_streams, send_window, recv_window,
754 first, ack, continuation, goaway} = control
755 client.flush.done(client.flush.go(streams, w, frame_max),
756 input, encoder, decoder, control)