TLSContext

fs2.io.net.tls.TLSContext
See theTLSContext companion object
sealed trait TLSContext[F[_]]

Allows creation of TLSSockets.

Attributes

Companion
object
Source
TLSContext.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def clientBuilder(socket: Socket[F]): SocketBuilder[F, [F[_]] =>> TLSSocket[F]]

Creates a TLSSocket builder in client mode, allowing optional parameters to be configured.

Creates a TLSSocket builder in client mode, allowing optional parameters to be configured.

Attributes

Source
TLSContext.scala
def serverBuilder(socket: Socket[F]): SocketBuilder[F, [F[_]] =>> TLSSocket[F]]

Creates a TLSSocket builder in server mode, allowing optional parameters to be configured.

Creates a TLSSocket builder in server mode, allowing optional parameters to be configured.

Attributes

Source
TLSContext.scala

Concrete methods

def client(socket: Socket[F]): Resource[F, TLSSocket[F]]

Creates a TLSSocket builder in client mode.

Creates a TLSSocket builder in client mode.

Attributes

Source
TLSContext.scala
def server(socket: Socket[F]): Resource[F, TLSSocket[F]]

Creates a TLSSocket builder in server mode.

Creates a TLSSocket builder in server mode.

Attributes

Source
TLSContext.scala

Deprecated methods

def client(socket: Socket[F], params: TLSParameters, logger: Option[String => F[Unit]]): Resource[F, TLSSocket[F]]

Attributes

Deprecated
true
Source
TLSContext.scala
def server(socket: Socket[F], params: TLSParameters, logger: Option[String => F[Unit]]): Resource[F, TLSSocket[F]]

Attributes

Deprecated
true
Source
TLSContext.scala

Inherited methods

def dtlsClient(socket: DatagramSocket[F], remoteAddress: SocketAddress[IpAddress]): Resource[F, DTLSSocket[F]]

Creates a DTLSSocket builder in client mode.

Creates a DTLSSocket builder in client mode.

Attributes

Inherited from:
TLSContextPlatform (hidden)
Source
TLSContextPlatform.scala
def dtlsClientBuilder(socket: DatagramSocket[F], remoteAddress: SocketAddress[IpAddress]): SocketBuilder[F, [F[_]] =>> DTLSSocket[F]]

Creates a DTLSSocket builder in client mode, allowing optional parameters to be configured.

Creates a DTLSSocket builder in client mode, allowing optional parameters to be configured.

Attributes

Inherited from:
TLSContextPlatform (hidden)
Source
TLSContextPlatform.scala
def dtlsServer(socket: DatagramSocket[F], remoteAddress: SocketAddress[IpAddress]): Resource[F, DTLSSocket[F]]

Creates a DTLSSocket builder in server mode.

Creates a DTLSSocket builder in server mode.

Attributes

Inherited from:
TLSContextPlatform (hidden)
Source
TLSContextPlatform.scala
def dtlsServerBuilder(socket: DatagramSocket[F], remoteAddress: SocketAddress[IpAddress]): SocketBuilder[F, [F[_]] =>> DTLSSocket[F]]

Creates a DTLSSocket builder in client mode, allowing optional parameters to be configured.

Creates a DTLSSocket builder in client mode, allowing optional parameters to be configured.

Attributes

Inherited from:
TLSContextPlatform (hidden)
Source
TLSContextPlatform.scala

Deprecated and Inherited methods

def dtlsClient(socket: DatagramSocket[F], remoteAddress: SocketAddress[IpAddress], params: TLSParameters, logger: Option[String => F[Unit]]): Resource[F, DTLSSocket[F]]

Attributes

Deprecated
true
Inherited from:
TLSContextPlatform (hidden)
Source
TLSContextPlatform.scala
def dtlsServer(socket: DatagramSocket[F], remoteAddress: SocketAddress[IpAddress], params: TLSParameters, logger: Option[String => F[Unit]]): Resource[F, DTLSSocket[F]]

Attributes

Deprecated
true
Inherited from:
TLSContextPlatform (hidden)
Source
TLSContextPlatform.scala