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.

  1. setServerName :: ByteString -> Settings -> Settings

    warp Network.Wai.Handler.Warp

    Default server name to be sent as the "Server:" header if an application does not set one. If an empty string is set, the "Server:" header is not sent. This is true even if an application set one. Since 3.0.2

  2. setServerPushLogger :: (Request -> ByteString -> Integer -> IO ()) -> Settings -> Settings

    warp Network.Wai.Handler.Warp

    Setting a log function for HTTP/2 server push. Since: 3.2.7

  3. setSlowlorisSize :: Int -> Settings -> Settings

    warp Network.Wai.Handler.Warp

    Size in bytes read to prevent Slowloris attacks. Default value: 2048 Since 3.1.2

  4. setTimeout :: Int -> Settings -> Settings

    warp 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

  5. setFileCloseOnExec :: Fd -> IO ()

    warp Network.Wai.Handler.Warp.Internal

    No documentation available.

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

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

  8. settingsAltSvc :: Settings -> Maybe ByteString

    warp Network.Wai.Handler.Warp.Internal

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

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

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

Page 153 of many | Previous | Next