def talk.after.keep

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

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

5928def talk.after.keep(keep: Bool, settings: Limits, rest: Bytes.Bytes, s: Socket) -> Socket & Turn:
5929  match keep:
5930    case False{}:
5931      (s, TurnClose{})
5932    case True{}:
5933      talk.after.rest(settings, rest, s)

Uses (8)

Used by (2)