def client.request.body

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

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

473def client.request.body(r: Bytes.Bytes & U32, encoder: Hpack.State, block: Bytes.Bytes, c: Client) -> Reply:
474  (body, +len) = r
475  Client{input, streams, old, decoder, +control} = c
476  client.request.frames(client.headers(U32.is_eq(len, 0), client.id(control), client.frame_max(control), block),
477    body, encoder, Client{input, streams, old, decoder, control})

Uses (12)

Used by (1)