def talk.after.keep

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

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

5936def talk.after.keep(keep: Bool, settings: Limits, rest: Bytes.Bytes, s: Socket) -> Socket & Turn:
5937  match keep:
5938    case False{}:
5939      (s, TurnClose{})
5940    case True{}:
5941      talk.after.rest(settings, rest, s)

Uses (8)

Used by (2)