def io.send

bend-kit-postgres@0.3.0.0 · postgres.bend:78

import bend-kit-postgres@0.3.0.0/postgres.bend as Postgres
import Base
import bend-kit-wire@0.4.6.2/wire.bend as Wire

78def io.send(tls: Bool, s: Socket, +len: U32, buf: Array<U32>) -> IO(Socket & Result<&1, &1, U32 & String, Unit>):
79  match tls:
80    case True{}:
81      Wire.tls.send.words(s, len, buf)
82    case False{}:
83      Wire.send.words(s, len, buf)

Uses (11)

Used by (1)