module Network.HTTP2.TLS.Settings where
data Settings = Settings
{ Settings -> Int
settingsTimeout :: Int
, Settings -> Int
settingsSendBufferSize :: Int
, Settings -> Int
settingsSlowlorisSize :: Int
, Settings -> Int
settingReadBufferSize :: Int
, Settings -> Int
settingReadBufferLowerLimit :: Int
} deriving (Settings -> Settings -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Settings -> Settings -> Bool
$c/= :: Settings -> Settings -> Bool
== :: Settings -> Settings -> Bool
$c== :: Settings -> Settings -> Bool
Eq, Int -> Settings -> ShowS
[Settings] -> ShowS
Settings -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Settings] -> ShowS
$cshowList :: [Settings] -> ShowS
show :: Settings -> String
$cshow :: Settings -> String
showsPrec :: Int -> Settings -> ShowS
$cshowsPrec :: Int -> Settings -> ShowS
Show)
defaultSettings :: Settings
defaultSettings :: Settings
defaultSettings =
Settings
{ settingsTimeout :: Int
settingsTimeout = Int
30
, settingsSendBufferSize :: Int
settingsSendBufferSize = Int
4096
, settingsSlowlorisSize :: Int
settingsSlowlorisSize = Int
50
, settingReadBufferSize :: Int
settingReadBufferSize = Int
16384
, settingReadBufferLowerLimit :: Int
settingReadBufferLowerLimit = Int
2048
}