def client.headers.decoded

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

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

988def client.headers.decoded(m: Maybe<&1, Hpack.State & List<&2, Hpack.Field>>,
989    s: Stream, tail: List<&1, Stream>, input: Bytes.Bytes,
990    encoder: Hpack.State, control: Control) -> Reply:
991  match m:
992    case None{}:
993      client.fail(9, True{}, 0)
994    case Some{(decoder, fields)}:
995      client.headers.fields(fields, s, tail, input, encoder, decoder, control)

Uses (13)

Used by (1)