def io.send.if
import bend-kit-websocket@0.4.0.0/websocket.bend as Websocketimport Base
import bend-kit-wire@0.4.6.2/wire.bend as Wire
774def io.send.if(tls: Bool, sock: Socket, +len: U32, buf: Array<U32>) -> IO(Socket & Result<&1, &1, U32 & String, Unit>):
775 match tls:
776 case True{}:
777 Wire.tls.send.words(sock, len, buf)
778 case False{}:
779 Wire.send.words(sock, len, buf)