def client.receive.buffer

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

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

1236def client.receive.buffer(b: Bytes.Bytes, streams: List<&1, Stream>,
1237    encoder: Hpack.State, decoder: Hpack.State, control: Control) -> Reply:
1238  Bytes.Bytes{+len, buf} = b
1239  client.receive.go(1n+U32.to_nat(len), parse(16384, Bytes.Bytes{len, buf}),
1240    streams, encoder, decoder, control, Nil{}, Nil{})

Uses (10)

Used by (1)