def io.recv
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
785def io.recv(tls: Bool, sock: Socket, +ms: U32) -> IO(Socket & Result<&1, &1, U32 & String, U32 & Array<U32>>):
786 match tls:
787 case True{}:
788 Wire.tls.recv.words(sock, 65536, ms)
789 case False{}:
790 Wire.recv.words(sock, 65536, ms)