def client.data.content.updated

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

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

1106def client.data.content.updated(m: Maybe<&1, List<&1, Bytes.Bytes>>, end_stream: Bool,
1107    content: Bytes.Bytes, s: Stream, tail: List<&1, Stream>, input: Bytes.Bytes,
1108    encoder: Hpack.State, decoder: Hpack.State, control: Control) -> Reply:
1109  match m:
1110    case None{}:
1111      client.fail(1, True{}, 0)
1112    case Some{writes}:
1113      client.data.content(end_stream, content, writes, s, tail, input, encoder, decoder, control)

Uses (10)

Used by (1)