Wire.wire.send: def of emerging-ezhttp@0.21.0.0 Import: import emerging-ezhttp@0.21.0.0/src/wire.bend as Wire Lines 55-64 of emerging-ezhttp@0.21.0.0/src/wire.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezhttp@0.21.0.0/src/wire.bend&start_line=55&end_line=64 import Base import bend-kit-wire@0.4.6.1/wire.bend as W # send octets, the plain send bounded by the deadline def wire.send(secure: Bool, s: Socket, +len: U32, buf: Array, ms: U32) -> IO(Socket & Result<&1, &1, U32 & String, Unit>): match secure: case True{}: W.tls.send.words(s, len, buf) case False{}: IO.bind(Socket & (U32 & Result<&1, &1, U32 & String, Unit>), Socket & Result<&1, &1, U32 & String, Unit>, W.send.words.deadline(s, len, buf, ms), wire.sent) Uses (13): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Socket https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=bend-kit-wire@0.4.8.0/wire.bend&name=send.words.deadline https://jend.leeeet.dev/definition.txt?path=bend-kit-wire@0.4.8.0/wire.bend&name=tls.send.words https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/wire.bend&name=wire.sent