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.

  1. 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

  2. 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

  3. settingsAltSvc :: Settings -> Maybe ByteString

    warp Network.Wai.Handler.Warp.Internal

    Specify the header value of Alternative Services (AltSvc:). Default: Nothing Since 3.3.11

  4. 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

  5. settingsFdCacheDuration :: Settings -> Int

    warp 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

  6. settingsFileInfoCacheDuration :: Settings -> Int

    warp 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

  7. 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

  8. settingsGracefulCloseTimeout1 :: Settings -> Int

    warp 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

  9. settingsGracefulCloseTimeout2 :: Settings -> Int

    warp 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

  10. settingsGracefulShutdownTimeout :: Settings -> Maybe Int

    warp 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

Page 169 of many | Previous | Next