def put

bend-kit-redis@0.3.0.0 · redis.bend:133

import bend-kit-redis@0.3.0.0/redis.bend as Redis
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

133def put(st: E, +head: String, body: Bytes.Bytes, +good: Bool) -> E:
134  E{o, +ok, +n} = st
135  E{Bytes.append(Bytes.append(Bytes.append(o, text(head)), body), text("\r\n")), Bool.and(ok, good), (n + 1 : U32)}

Uses (9)

Used by (4)