fs2.io.net
Members list
Type members
Classlikes
Attributes
- Companion:
- object
- Source:
- NetException.scala
- Graph
- Supertypes
- class SocketExceptionclass IOExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
Attributes
- Companion:
- class
- Source:
- NetException.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- BindException.type
Attributes
- Companion:
- object
- Source:
- NetException.scala
- Graph
- Supertypes
- class SocketExceptionclass IOExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
Attributes
- Companion:
- class
- Source:
- NetException.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- ConnectException.type
A single datagram to send to the specified remote address or received from the specified address.
A single datagram to send to the specified remote address or received from the specified address.
Attributes
- bytes
data to send/receive
- remote
remote party to send/receive datagram to/from
- Source:
- Datagram.scala
- Graph
- Supertypes
Provides the ability to read/write from a UDP socket in the effect F.
Provides the ability to read/write from a UDP socket in the effect F.
Attributes
- Companion:
- object
- Source:
- DatagramSocket.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Attributes
- Companion:
- trait
- Source:
- DatagramSocket.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- DatagramSocket.type
Attributes
- Source:
- DatagramSocketGroup.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- trait Network[F]
Specifies a socket option on a TCP/UDP socket.
Specifies a socket option on a TCP/UDP socket.
The companion provides methods for creating a socket option from each of the
JDK java.net.StandardSocketOptions as well as the ability to construct arbitrary
additional options. See the docs on StandardSocketOptions for details on each.
Attributes
- Companion:
- object
- Source:
- DatagramSocketOption.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Attributes
- Companion:
- trait
- Source:
- DatagramSocketOption.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- DatagramSocketOption.type
Provides the ability to work with TCP, UDP, and TLS.
Provides the ability to work with TCP, UDP, and TLS.
Attributes
- Example:
import fs2.Stream import fs2.io.net.{Datagram, Network} def send[F[_]: Network](datagram: Datagram): F[Unit] = Network[F].openDatagramSocket().use { socket => socket.write(packet) }In this example, the
F[_]parameter tosendrequires theNetworkconstraint instead of requiring the much more powerfulAsyncconstraint. TheNetworkinstance has a set of global resources used for managing sockets. Alternatively, use thesocketGroupanddatagramSocketGroupoperations to manage the lifecycle of underlying resources. An instance ofNetworkis available for any effectFwhich has anAsync[F]instance.- Companion:
- object
- Source:
- Network.scala
- Graph
- Supertypes
Attributes
- Companion:
- trait
- Source:
- Network.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- Network.type
Attributes
- Source:
- NetException.scala
- Graph
- Supertypes
- class IOExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
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.
Attributes
- Companion:
- object
- Source:
- Socket.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- trait TLSSocket[F]
Attributes
- Companion:
- trait
- Source:
- Socket.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- Socket.type
Attributes
- Companion:
- object
- Source:
- NetException.scala
- Graph
- Supertypes
- class IOExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
- Known subtypes
- class BindExceptionclass ConnectException
Attributes
- Companion:
- class
- Source:
- NetException.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- SocketException.type
Supports creation of client and server TCP sockets that all share an underlying non-blocking channel group.
Supports creation of client and server TCP sockets that all share an underlying non-blocking channel group.
Attributes
- Source:
- SocketGroup.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- trait Network[F]
Specifies a socket option on a TCP/UDP socket.
Specifies a socket option on a TCP/UDP socket.
The companion provides methods for creating a socket option from each of the
JDK java.net.StandardSocketOptions as well as the ability to construct arbitrary
additional options. See the docs on StandardSocketOptions for details on each.
Attributes
- Companion:
- object
- Source:
- SocketOption.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Attributes
- Companion:
- trait
- Source:
- SocketOption.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- SocketOption.type
Attributes
- Companion:
- object
- Source:
- NetException.scala
- Graph
- Supertypes
- class InterruptedIOExceptionclass IOExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
Attributes
- Companion:
- class
- Source:
- NetException.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
Attributes
- Companion:
- class
- Source:
- NetException.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- UnknownHostException.type
Deprecated classlikes
Attributes
- Companion:
- object
- Deprecated
- true
- Source:
- NetException.scala
- Graph
- Supertypes
- class UnknownHostExceptionclass IOExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any