| Safe Haskell | Safe-Inferred | 
|---|---|
| Language | GHC2021 | 
Butler.Core.Network
Synopsis
- type WaiApplication = Application
 - webService :: [XStaticFile] -> WaiApplication -> Port -> WebProtocol -> ProcessIO Void
 - data WebProtocol
- = Http
 - | Https (Maybe (ByteString, ByteString))
 
 - unixService :: FilePath -> (Socket -> ProcessIO ()) -> ProcessIO Void
 
Documentation
type WaiApplication = Application #
webService :: [XStaticFile] -> WaiApplication -> Port -> WebProtocol -> ProcessIO Void #
data WebProtocol #
Listening mode.
Constructors
| Http | |
| Https (Maybe (ByteString, ByteString)) | 
Instances
| Eq WebProtocol # | |
Defined in Butler.Core.Network  | |