Provides the ability to read/write from a TCP socket in the effect F.
- Companion
- object
Value members
Abstract methods
Reads up to maxBytes from the peer.
Reads up to maxBytes from the peer.
Returns None if the "end of stream" is reached, indicating there will be no more bytes sent.
Reads exactly numBytes from the peer in a single chunk.
Reads exactly numBytes from the peer in a single chunk.
Returns a chunk with size < numBytes upon reaching the end of the stream.
Writes bytes to the peer.
Writes bytes to the peer.
Completes when the bytes are written to the socket.