def up.chunk

bend-kit-http@0.38.5.0 · http.bend:5482

import bend-kit-http@0.38.5.0/http.bend as Http
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

5482def up.chunk(+tls: Bool, s: Socket, +ms: U32, +head: Bool, piece: Bytes.Bytes) -> IO(Up & Result<&2, &2, Err, Unit>):
5483  Bytes.Bytes{+len, buf} = piece
5484  up.put(tls, s, ms, head, len, Bytes.Bytes{len, buf}, U32.is_zero(len))

Uses (12)

Used by (1)