DTLSSocket

fs2.io.net.tls.DTLSSocket
See theDTLSSocket companion object
sealed trait DTLSSocket[F[_]] extends DatagramSocket[F]

UDP socket that supports encryption via DTLS.

To construct a DTLSSocket, use the dtlsClient and dtlsServer methods on TLSContext.

Attributes

Companion
object
Source
DTLSSocket.scala
Graph
Supertypes
trait DatagramSocket[F]
class Object
trait Matchable
class Any

Members list

Type members

Inherited classlikes

Result of joining a multicast group on a UDP socket.

Result of joining a multicast group on a UDP socket.

Attributes

Inherited from:
DatagramSocket
Source
DatagramSocket.scala
Supertypes
class Object
trait Matchable
class Any

Value members

Abstract methods

Initiates handshaking -- either the initial or a renegotiation.

Initiates handshaking -- either the initial or a renegotiation.

Attributes

Source
DTLSSocket.scala

Provides access to the current SSLSession for purposes of querying session info such as the negotiated cipher suite or the peer certificate.

Provides access to the current SSLSession for purposes of querying session info such as the negotiated cipher suite or the peer certificate.

Attributes

Source
DTLSSocket.scala

Inherited methods

Joins a multicast group on a specific network interface.

Joins a multicast group on a specific network interface.

Value parameters

interface

network interface upon which to listen for datagrams

join

group to join

Attributes

Inherited from:
DatagramSocket
Source
DatagramSocket.scala

Returns the local address of this udp socket.

Returns the local address of this udp socket.

Attributes

Inherited from:
DatagramSocket
Source
DatagramSocket.scala
def read: F[Datagram]

Reads a single datagram from this udp socket.

Reads a single datagram from this udp socket.

Attributes

Inherited from:
DatagramSocket
Source
DatagramSocket.scala
def reads: Stream[F, Datagram]

Reads datagrams received from this udp socket.

Reads datagrams received from this udp socket.

Note that multiple reads may execute at same time, causing each evaluation to receive fair amount of messages.

Attributes

Returns

stream of datagrams

Inherited from:
DatagramSocket
Source
DatagramSocket.scala

Writes a single datagram to this udp socket.

Writes a single datagram to this udp socket.

Value parameters

datagram

datagram to write

Attributes

Inherited from:
DatagramSocket
Source
DatagramSocket.scala
def writes: (F, Datagram) => Nothing

Writes supplied datagrams to this udp socket.

Writes supplied datagrams to this udp socket.

Attributes

Inherited from:
DatagramSocket
Source
DatagramSocket.scala