Hoogle Search
Within LTS Haskell 24.33 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
settingsFileInfoCacheDuration :: Settings -> Intwarp Network.Wai.Handler.Warp.Internal Cache duration time of file information in seconds. 0 means that the cache mechanism is not used. Default value: 0
settingsFork :: Settings -> ((forall a . () => IO a -> IO a) -> IO ()) -> IO ()warp Network.Wai.Handler.Warp.Internal Code to fork a new thread to accept a connection. This may be useful if you need OS bound threads, or if you wish to develop an alternative threading model. Default: defaultFork Since 3.0.4
settingsGracefulCloseTimeout1 :: Settings -> Intwarp Network.Wai.Handler.Warp.Internal A timeout to limit the time (in milliseconds) waiting for FIN for HTTP/1.x. 0 means uses immediate close. Default: 0. Since 3.3.5
settingsGracefulCloseTimeout2 :: Settings -> Intwarp Network.Wai.Handler.Warp.Internal A timeout to limit the time (in milliseconds) waiting for FIN for HTTP/2. 0 means uses immediate close. Default: 2000. Since 3.3.5
settingsGracefulShutdownTimeout :: Settings -> Maybe Intwarp Network.Wai.Handler.Warp.Internal An optional timeout to limit the time (in seconds) waiting for a graceful shutdown of the web server. Since 3.2.8
settingsHTTP2Enabled :: Settings -> Boolwarp Network.Wai.Handler.Warp.Internal Whether to enable HTTP2 ALPN/upgrades. Default: True Since 3.1.7
settingsHost :: Settings -> HostPreferencewarp Network.Wai.Handler.Warp.Internal Default value: HostIPv4
settingsInstallShutdownHandler :: Settings -> IO () -> IO ()warp Network.Wai.Handler.Warp.Internal An action to install a handler (e.g. Unix signal handler) to close a listen socket. The first argument is an action to close the listen socket. Default: no action Since 3.0.1
settingsLogger :: Settings -> Request -> Status -> Maybe Integer -> IO ()warp Network.Wai.Handler.Warp.Internal A log function. Default: no action. Since 3.1.10
settingsManager :: Settings -> Maybe Managerwarp Network.Wai.Handler.Warp.Internal Use an existing timeout manager instead of spawning a new one. If used, settingsTimeout is ignored. Default is Nothing