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. setRegion :: LiftRegion m => Region -> String -> m ()

    hedgehog Hedgehog.Internal.Region

    No documentation available.

  2. sets :: ((a -> b) -> s -> t) -> ASetter s t a b

    microlens Lens.Micro

    sets creates an ASetter from an ordinary function. (The only thing it does is wrapping and unwrapping Identity.)

  3. sets :: ((a -> b) -> s -> t) -> ASetter s t a b

    microlens Lens.Micro.Internal

    sets creates an ASetter from an ordinary function. (The only thing it does is wrapping and unwrapping Identity.)

  4. setAccept :: (Socket -> IO (Socket, SockAddr)) -> Settings -> Settings

    warp Network.Wai.Handler.Warp

    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

  5. setAltSvc :: ByteString -> Settings -> Settings

    warp Network.Wai.Handler.Warp

    Setting the header value of Alternative Services (AltSvc:). Since 3.3.11

  6. setBeforeMainLoop :: IO () -> Settings -> Settings

    warp Network.Wai.Handler.Warp

    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 2.1.0

  7. setFdCacheDuration :: Int -> Settings -> Settings

    warp Network.Wai.Handler.Warp

    Cache duration time of file descriptors in seconds. 0 means that the cache mechanism is not used. The FD cache is an optimization that is useful for servers dealing with static files. However, if files are being modified, it can cause incorrect results in some cases. Therefore, we disable it by default. If you know that your files will be static or you prefer performance to file consistency, it's recommended to turn this on; a reasonable value for those cases is 10. Enabling this cache results in drastic performance improvement for file transfers. Default value: 0, was previously 10 Since 3.0.13

  8. setFileInfoCacheDuration :: Int -> Settings -> Settings

    warp Network.Wai.Handler.Warp

    Cache duration time of file information in seconds. 0 means that the cache mechanism is not used. The file information cache is an optimization that is useful for servers dealing with static files. However, if files are being modified, it can cause incorrect results in some cases. Therefore, we disable it by default. If you know that your files will be static or you prefer performance to file consistency, it's recommended to turn this on; a reasonable value for those cases is 10. Enabling this cache results in drastic performance improvement for file transfers. Default value: 0

  9. setFork :: (((forall a . () => IO a -> IO a) -> IO ()) -> IO ()) -> Settings -> Settings

    warp Network.Wai.Handler.Warp

    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: void . forkIOWithUnmask Since 3.0.4

  10. setGracefulCloseTimeout1 :: Int -> Settings -> Settings

    warp Network.Wai.Handler.Warp

    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

Page 150 of many | Previous | Next