Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
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
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