Safe Haskell | None |
---|
- data Settings = Settings {
- settingsPort :: PortID
- settingsTimeout :: Int
- settingsMaxDataSize :: Int
- settingsHost :: Maybe HostName
- settingsTLS :: Maybe TLSSettings
- settingsOnException :: SomeException -> IO ()
- settingsOnOpen :: IO ()
- settingsOnClose :: IO ()
- settingsBeforeMainLoop :: IO ()
- settingsOnStartTLS :: IO ()
- settingsOnHello :: ByteString -> IO HandlerResponse
- settingsOnMailFrom :: Address -> IO HandlerResponse
- settingsOnRecipient :: Address -> IO HandlerResponse
- defaultSettings :: Settings
- data TLSSettings = TLSSettings {
- certFile :: FilePath
- keyFile :: FilePath
- security :: ConnectionSecurity
- tlsLogging :: Logging
- tlsAllowedVersions :: [Version]
- tlsCiphers :: [Cipher]
- tlsSettings :: FilePath -> FilePath -> TLSSettings
- defaultTLSSettings :: TLSSettings
- defaultExceptionHandler :: SomeException -> IO ()
- settingsServerParams :: Settings -> IO (Maybe ServerParams)
- settingsAllowSecure :: Settings -> Bool
- settingsDemandSecure :: Settings -> Bool
Documentation
Settings to configure posties behaviour.
Settings | |
|
data TLSSettings Source
TLSSettings | |
|
tlsSettings :: FilePath -> FilePath -> TLSSettingsSource
defaultExceptionHandler :: SomeException -> IO ()Source