socket v0.3.9 Socket.Stream
Summary
Functions
Read from the IO device and send to the socket following the given options
Types
Functions
Read from the IO device and send to the socket following the given options.
Options
:size
is the amount of bytes to read from the IO device, if omitted it will read until EOF:offset
is the amount of bytes to read from the IO device before starting to send what’s being read:chunk_size
is the size of the chunks read from the IO device at a time