TLSContext
sealed trait TLSContext
Allows creation of TLSSockets.
- Companion
- object
class Object
trait Matchable
class Any
Value members
Methods
def client[F <: ([_$1] =>> Any)](socket: Socket[F], params: TLSParameters, logger: Option[String => F[Unit]])(evidence$1: Concurrent[F], evidence$2: ContextShift[F]): Resource[F, TLSSocket[F]]
Creates a
Internal debug logging of the session can be enabled by passing a logger.
TLSSocket
in client mode, using the supplied parameters.Internal debug logging of the session can be enabled by passing a logger.
def server[F <: ([_$2] =>> Any)](socket: Socket[F], params: TLSParameters, logger: Option[String => F[Unit]])(evidence$3: Concurrent[F], evidence$4: ContextShift[F]): Resource[F, TLSSocket[F]]
Creates a
Internal debug logging of the session can be enabled by passing a logger.
TLSSocket
in server mode, using the supplied parameters.Internal debug logging of the session can be enabled by passing a logger.
def dtlsClient[F <: ([_$3] =>> Any)](socket: Socket[F], remoteAddress: InetSocketAddress, params: TLSParameters, logger: Option[String => F[Unit]])(evidence$5: Concurrent[F], evidence$6: ContextShift[F]): Resource[F, DTLSSocket[F]]
Creates a
Internal debug logging of the session can be enabled by passing a logger.
DTLSSocket
in client mode, using the supplied parameters.Internal debug logging of the session can be enabled by passing a logger.
def dtlsServer[F <: ([_$4] =>> Any)](socket: Socket[F], remoteAddress: InetSocketAddress, params: TLSParameters, logger: Option[String => F[Unit]])(evidence$7: Concurrent[F], evidence$8: ContextShift[F]): Resource[F, DTLSSocket[F]]
Creates a
Internal debug logging of the session can be enabled by passing a logger.
DTLSSocket
in server mode, using the supplied parameters.Internal debug logging of the session can be enabled by passing a logger.