warp-tls-1.4.1.4: HTTP over SSL/TLS support for Warp via the TLS package

Safe HaskellNone

Network.Wai.Handler.WarpTLS

Contents

Description

HTTP over SSL/TLS support for Warp via the TLS package.

Synopsis

Settings

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

tlsLogging :: TLSSettings -> LoggingSource

The level of logging to turn on.

Default: defaultLogging.

Since 1.4.0

defaultTlsSettings :: TLSSettingsSource

Default TLSSettings. Use this to create TLSSettings with the field record name.

tlsSettingsSource

Arguments

:: FilePath

Certificate file

-> FilePath

Key file

-> TLSSettings 

A smart constructor for TLSSettings.

data OnInsecure Source

An action when a plain HTTP comes to HTTP over TLS/SSL port.

Runner

Exception