type Rv

bend-kit-http@0.38.4.0 · http.bend:1346

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

1346# A response read in pieces. Head: the head is not whole yet. Body: it is, and parts is the body so far.
1347# Len: a Content-Length body in one buffer of that size, with left bytes still to come.
1348type Rv is Type:
1349  RvHead{buf: Bytes.Bytes, k: U32}
1350  RvBody{res: Res, rb: Rb, parts: List<&1, Bytes.Bytes>}
1351  RvLen{res: Res, left: U32, body: Bytes.Bytes}

Uses (5)

Used by (10)