conferer-warp-1.1.0.1: conferer's FromConfig instances for warp settings
Copyright(c) 2019 Lucas David Traverso
LicenseMPL-2.0
MaintainerLucas David Traverso <lucas6246@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Conferer.FromConfig.Warp

Description

FromConfig instance for warp

Synopsis

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 # 
Instance details

Methods

configDef :: Settings #

FromConfig HostPreference Source # 
Instance details

FromConfig ProxyProtocol Source # 
Instance details

FromConfig Settings Source # 
Instance details

Methods

fromConfig :: Key -> Config -> IO Settings #