-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | SSL support for Warp via the TLS package
--   
--   SSL support for Warp via the TLS package
@package warp-tls
@version 1.4.0.1

module Network.Wai.Handler.WarpTLS
data TLSSettings

-- | File containing the certificate.
certFile :: TLSSettings -> FilePath

-- | File containing the key
keyFile :: TLSSettings -> FilePath

-- | 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
onInsecure :: TLSSettings -> OnInsecure
data OnInsecure
DenyInsecure :: ByteString -> OnInsecure
AllowInsecure :: OnInsecure
tlsSettings :: FilePath -> FilePath -> TLSSettings
runTLS :: TLSSettings -> Settings -> Application -> IO ()
runTLSSocket :: TLSSettings -> Settings -> Socket -> Application -> IO ()
data WarpTLSException
InsecureConnectionDenied :: WarpTLSException
instance Typeable WarpTLSException
instance Show WarpTLSException
instance Exception WarpTLSException
