Hoogle Search
Within LTS Haskell 24.67 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setTimeout :: Int -> Settings -> Settingswarp Network.Wai.Handler.Warp "Slow-loris" timeout lower-bound value in seconds. Connections where network progress is made less frequently than this may be closed. In practice many connections may be allowed to go without progress for up to twice this amount of time. Note that this timeout is not applied to application code, only network progress. Default value: 30 Since 2.1.0
setFileCloseOnExec :: Fd -> IO ()warp Network.Wai.Handler.Warp.Internal No documentation available.
setSocketCloseOnExec :: Socket -> IO ()warp Network.Wai.Handler.Warp.Internal Set flag FileCloseOnExec flag on a socket (on Unix) Copied from: https://github.com/mzero/plush/blob/master/src/Plush/Server/Warp.hs
settingsAccept :: Settings -> Socket -> IO (Socket, SockAddr)warp Network.Wai.Handler.Warp.Internal Code to accept a new connection. Useful if you need to provide connected sockets from something other than a standard accept call. Default: defaultAccept Since 3.3.24
settingsAltSvc :: Settings -> Maybe ByteStringwarp Network.Wai.Handler.Warp.Internal Specify the header value of Alternative Services (AltSvc:). Default: Nothing Since 3.3.11
settingsBeforeMainLoop :: Settings -> IO ()warp Network.Wai.Handler.Warp.Internal Code to run after the listening socket is ready but before entering the main event loop. Useful for signaling to tests that they can start running, or to drop permissions after binding to a restricted port. Default: do nothing. Since 1.3.6
settingsFdCacheDuration :: Settings -> Intwarp Network.Wai.Handler.Warp.Internal Cache duration time of file descriptors in seconds. 0 means that the cache mechanism is not used. Default value: 0
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