def file.socket

bend-kit-stream@0.3.1.0 · stream.bend:164

import bend-kit-stream@0.3.1.0/stream.bend as Stream
import Base

164def file.socket(source: File, destination: Socket, tls: Bool, +chunk: U32, cap: U32) ->
165  IO(File & Socket & Outcome):
166  transfer.start(~File, ~Socket, ~file.read, ~socket.write,
167    chunk.valid(chunk), source, destination, tls, chunk, cap, 0)

Uses (11)

Used by (0)

No other definition uses this definition.