SSLNegotiation
skunk.net.SSLNegotiation
object SSLNegotiation
Attributes
- Source
- SSLNegotiation.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SSLNegotiation.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 Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow 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
Attributes
- Source
- SSLNegotiation.scala
In this article