def talk.after.rest

bend-kit-http@0.38.2.0 · http.bend:5932

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

5932def talk.after.rest(settings: Limits, rest: Bytes.Bytes, s: Socket) -> Socket & Turn:
5933  Bytes.Bytes{+len, buf} = rest
5934  (s, talk.after.pick(U32.is_eq(len, 0), settings, Bytes.Bytes{len, buf}))

Uses (8)

Used by (1)