SSLNegotiation

skunk.net.SSLNegotiation

Attributes

Source
SSLNegotiation.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case class Options[F[_]](tlsContext: TLSContext[F], tlsParameters: TLSParameters, fallbackOk: Boolean, logger: Option[String => F[Unit]])

Parameters for negotiateSSL.

Parameters for negotiateSSL.

Attributes

Source
SSLNegotiation.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def negotiateSSL[F[_]](socket: Socket[F], sslOptions: Options[F])(implicit ev: MonadError[F, Throwable]): Resource[F, Socket[F]]

Negotiate SSL with Postgres, given a brand new connected Socket and a TLSContext.

Negotiate SSL with Postgres, given a brand new connected Socket and a TLSContext. If SSL is unavailable, fall back to the unencrypted socket if fallbackOk, otherwise raise an exception.

Attributes

Source
SSLNegotiation.scala

Concrete fields

val SSLRequest: Chunk[Byte]

Attributes

Source
SSLNegotiation.scala