scotty-tls-0.4.1: TLS for Scotty

Safe HaskellNone
LanguageHaskell2010

Web.Scotty.TLS

Contents

Synopsis

A method for running Scotty over TLS

scottyTLS :: Port -> FilePath -> FilePath -> ScottyM () -> IO () Source

Run a Scotty application over TLS

Transformer version

scottyTTLS :: (Monad m, MonadIO n) => Port -> FilePath -> FilePath -> (m Response -> IO Response) -> ScottyT t m () -> n () Source