Safe Haskell | Safe-Infered |
---|
- data TLSConf = TLSConf {}
- nullTLSConf :: TLSConf
- simpleHTTPS :: ToMessage a => TLSConf -> ServerPartT IO a -> IO ()
- simpleHTTPS' :: (ToMessage b, Monad m, Functor m) => (UnWebT m a -> UnWebT IO b) -> TLSConf -> ServerPartT m a -> IO ()
Documentation
configuration for using https://
start the https:// server, and handle requests using the supplied
ServerPart
.
This function will not return, though it may throw an exception.
simpleHTTPS' :: (ToMessage b, Monad m, Functor m) => (UnWebT m a -> UnWebT IO b) -> TLSConf -> ServerPartT m a -> IO ()Source
similar simpleHTTPS
but allows you to supply a function to convert m
to IO
.