TLSContext
Allows creation of TLSSockets.
- Companion
- object
class Object
trait Matchable
class Any
Value members
Methods
def client(socket: Socket[F], params: TLSParameters, logger: Option[String => F[Unit]]): 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(socket: Socket[F], params: TLSParameters, logger: Option[String => F[Unit]]): 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(socket: Socket[F], remoteAddress: InetSocketAddress, params: TLSParameters, logger: Option[String => F[Unit]]): 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(socket: Socket[F], remoteAddress: InetSocketAddress, params: TLSParameters, logger: Option[String => F[Unit]]): 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.