def client.settings.ack

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

import bend-kit-http2@0.4.0.0/http2.bend as Http2
import Base

637def client.settings.ack(c: Client) -> Reply:
638  Client{input, streams, encoder, decoder,
639    Control{next, active, frame_max, initial, max_streams, send_window, recv_window,
640      first, ack, continuation, goaway}} = c
641  match ack:
642    case False{}:
643      client.fail(1, True{}, 0)
644    case True{}:
645      client.ok(Client{input, streams, encoder, decoder,
646        Control{next, active, frame_max, initial, max_streams, send_window, recv_window,
647          first, False{}, continuation, goaway}})

Uses (6)

Used by (1)