| Copyright | (c) 2019 Lucas David Traverso |
|---|---|
| License | MPL-2.0 |
| Maintainer | Lucas David Traverso <lucas6246@gmail.com> |
| Stability | stable |
| Portability | portable |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Conferer.FromConfig.Warp
Contents
Description
FromConfig instance for warp
Synopsis
- deconstructSettingsToDefaults :: Settings -> [(Key, Dynamic)]
- newtype ForkSettings = ForkSettings (((forall a. IO a -> IO a) -> IO ()) -> IO ())
Documentation
deconstructSettingsToDefaults :: Settings -> [(Key, Dynamic)] Source #
Deconstruct a Settings into a many key/dynamic pairs to
provide valid defaults for downstream fetchFromConfig
newtype ForkSettings Source #
Newtype wrapper for the settingsFork value that has too much polymorphism
to be typeable
Constructors
| ForkSettings (((forall a. IO a -> IO a) -> IO ()) -> IO ()) |
Orphan instances
| DefaultConfig Settings Source # | |
| FromConfig HostPreference Source # | |
Methods fromConfig :: Key -> Config -> IO HostPreference # | |
| FromConfig ProxyProtocol Source # | |
Methods fromConfig :: Key -> Config -> IO ProxyProtocol # | |
| FromConfig Settings Source # | |