warp-tls-1.4.0.1: SSL support for Warp via the TLS package

Safe HaskellNone

Network.Wai.Handler.WarpTLS

Synopsis

Documentation

certFile :: TLSSettings -> FilePathSource

File containing the certificate.

keyFile :: TLSSettings -> FilePathSource

File containing the key

onInsecure :: TLSSettings -> OnInsecureSource

Do we allow insecure connections with this server as well? Default is a simple text response stating that a secure connection is required.

Since 1.4.0

tlsSettingsSource

Arguments

:: FilePath

Certificate file

-> FilePath

key file

-> TLSSettings