def client.can
import bend-kit-http2@0.4.0.0/http2.bend as Http2import Base
431def client.can(c: Control) -> Bool:
432 Control{+next, active, frame_max, initial, max_streams, send_window, recv_window, first, ack, continuation, goaway} = c
433 Bool.and(U32.is_le(next, 2147483647),
434 Bool.and(Maybe.is_none(&2, U32, goaway), client.limit(max_streams, active)))