Hoogle Search
Within LTS Haskell 24.68 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setEtag :: MonadHandler m => Text -> m ()classy-prelude-yesod ClassyPrelude.Yesod Check the if-none-match header and, if it matches the given value, return a 304 not modified response. Otherwise, set the etag header to the given value. Note that it is the responsibility of the caller to ensure that the provided value is a valid etag value, no sanity checking is performed by this function.
setFieldAttrs :: [FieldAttr] -> FieldDef -> FieldDefclassy-prelude-yesod ClassyPrelude.Yesod setFromList :: IsSet set => [Element set] -> setclassy-prelude-yesod ClassyPrelude.Yesod Convert a list to a set.
setGenType :: Bool -> MakeMessageOpts -> MakeMessageOptsclassy-prelude-yesod ClassyPrelude.Yesod Whether to generate a new datatype from the constructors found in the .msg files
setHeader :: MonadHandler m => Text -> Text -> m ()classy-prelude-yesod ClassyPrelude.Yesod Deprecated synonym for addHeader.
setImplicitIdDef :: ImplicitIdDef -> MkPersistSettings -> MkPersistSettingsclassy-prelude-yesod ClassyPrelude.Yesod Set the ImplicitIdDef in the given MkPersistSettings. The default value is autoIncrementingInteger.
setLanguage :: MonadHandler m => Text -> m ()classy-prelude-yesod ClassyPrelude.Yesod Set the language in the user session. Will show up in languages on the next request.
setMessage :: MonadHandler m => Html -> m ()classy-prelude-yesod ClassyPrelude.Yesod Calls addMessage with an empty status
setMessageI :: (MonadHandler m, RenderMessage (HandlerSite m) msg) => msg -> m ()classy-prelude-yesod ClassyPrelude.Yesod Calls addMessageI with an empty status
setOGImage :: MonadWidget m => Text -> m ()classy-prelude-yesod ClassyPrelude.Yesod Add OpenGraph image meta tag to the head of the page Best practices:
- Use custom images for shareable pages, e.g., homepage, articles, etc.
- Use your logo or any other branded image for the rest of your pages.
- Use images with a 1.91:1 ratio and minimum recommended dimensions of 1200x630 for optimal clarity across all devices.