Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

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

  1. setSingleRowMode :: Connection -> IO Bool

    postgresql-libpq Database.PostgreSQL.LibPQ

    Select single-row mode for the currently-executing query. This function can only be called immediately after PQsendQuery or one of its sibling functions, before any other operation on the connection such as PQconsumeInput or PQgetResult. If called at the correct time, the function activates single-row mode for the current query and returns 1. Otherwise the mode stays unchanged and the function returns 0. In any case, the mode reverts to normal after completion of the current query.

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

    postgresql-libpq Database.PostgreSQL.LibPQ

    Sets the nonblocking status of the connection.

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

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

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

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

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

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

  9. setCookieHttpOnly :: SetCookie -> Bool

    scotty Web.Scotty.Cookie

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

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

Page 314 of many | Previous | Next