Hoogle Search

Within LTS Haskell 24.46 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. setnonblocking :: Connection -> Bool -> IO Bool

    postgresql-libpq Database.PostgreSQL.LibPQ

    Sets the nonblocking status of the connection.

  2. setHeader :: Text -> Text -> ActionM ()

    scotty Web.Scotty

    Set one of the response headers. Will override any previously set value for that header. Header names are case-insensitive.

  3. setMaxRequestBodySize :: Kilobytes -> ScottyM ()

    scotty Web.Scotty

    Set global size limit for the request body. Requests with body size exceeding the limit will not be processed and an HTTP response 413 will be returned to the client. Size limit needs to be greater than 0, otherwise the application will terminate on start.

  4. settings :: Options -> Settings

    scotty Web.Scotty

    Warp Settings Note: to work around an issue in warp, the default FD cache duration is set to 0 so changes to static files are always picked up. This likely has performance implications, so you may want to modify this for production servers using setFdCacheDuration.

  5. setCookie :: forall (m :: Type -> Type) . MonadIO m => SetCookie -> ActionT m ()

    scotty Web.Scotty.Cookie

    Set a cookie, with full access to its options (see SetCookie)

  6. setCookieDomain :: SetCookie -> Maybe ByteString

    scotty Web.Scotty.Cookie

    The domain for which the cookie should be sent. Default value: Nothing (The browser defaults to the current domain).

  7. setCookieExpires :: SetCookie -> Maybe UTCTime

    scotty Web.Scotty.Cookie

    The time at which to expire the cookie. Default value: Nothing (The browser will default to expiring a cookie when the browser is closed).

  8. setCookieHttpOnly :: SetCookie -> Bool

    scotty Web.Scotty.Cookie

    Marks the cookie as "HTTP only", i.e. not accessible from Javascript. Default value: False

  9. setCookieMaxAge :: SetCookie -> Maybe DiffTime

    scotty Web.Scotty.Cookie

    The maximum time to keep the cookie, in seconds. Default value: Nothing (The browser defaults to expiring a cookie when the browser is closed).

  10. setCookieName :: SetCookie -> ByteString

    scotty Web.Scotty.Cookie

    The name of the cookie. Default value: "name"

Page 314 of many | Previous | Next