package tcp
- Alphabetic
- By Inheritance
- tcp
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
Socket[F[_]] extends AnyRef
Provides the ability to read/write from a TCP socket in the effect
F
.Provides the ability to read/write from a TCP socket in the effect
F
.To construct a
Socket
, use the methods in the fs2.io.tcp package object.
Deprecated Value Members
-
def
client[F[_]](to: InetSocketAddress, reuseAddress: Boolean = true, sendBufferSize: Int = 256 * 1024, receiveBufferSize: Int = 256 * 1024, keepAlive: Boolean = false, noDelay: Boolean = false)(implicit AG: AsynchronousChannelGroup, F: ConcurrentEffect[F]): Resource[F, Socket[F]]
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.1) Use fs2.io.tcp.Socket.client
-
def
server[F[_]](bind: InetSocketAddress, maxQueued: Int = 0, reuseAddress: Boolean = true, receiveBufferSize: Int = 256 * 1024)(implicit AG: AsynchronousChannelGroup, F: ConcurrentEffect[F]): Stream[F, Resource[F, Socket[F]]]
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.1) Use fs2.io.tcp.Socket.server
-
def
serverWithLocalAddress[F[_]](bind: InetSocketAddress, maxQueued: Int = 0, reuseAddress: Boolean = true, receiveBufferSize: Int = 256 * 1024)(implicit AG: AsynchronousChannelGroup, F: ConcurrentEffect[F]): Stream[F, Either[InetSocketAddress, Resource[F, Socket[F]]]]
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.1) Use fs2.io.tcp.Socket.serverWithLocalAddress