def client.data.receive

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

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

1150def client.data.receive(+id: U32, +flags: U32, payload: Bytes.Bytes, c: Client) -> Reply:
1151  Bytes.Bytes{+len, buf} = payload
1152  Client{input, streams, encoder, decoder, +control} = c
1153  Control{next, active, frame_max, initial, max_streams, connection, +recv_window,
1154    first, ack, continuation, goaway} = control
1155  client.data.connection(U32.is_le(len, recv_window), id, flags, len, Bytes.Bytes{len, buf},
1156    Client{input, streams, encoder, decoder, control})

Uses (7)

Used by (1)