yesod-hello-world-0.1.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

Foundation

Documentation

data HelloWorld Source #

Constructors

HelloWorld 

Instances

Instances details
YesodDispatch HelloWorld 
Instance details

Defined in Application

Methods

yesodDispatch :: YesodRunnerEnv HelloWorld -> Application

Yesod HelloWorld Source # 
Instance details

Defined in Foundation

Methods

approot :: Approot HelloWorld

catchHandlerExceptions :: MonadUnliftIO m => HelloWorld -> m a -> (SomeException -> m a) -> m a

errorHandler :: ErrorResponse -> HandlerFor HelloWorld TypedContent

defaultLayout :: WidgetFor HelloWorld () -> HandlerFor HelloWorld Html

urlParamRenderOverride :: HelloWorld -> Route HelloWorld -> [(Text, Text)] -> Maybe Builder

isAuthorized :: Route HelloWorld -> Bool -> HandlerFor HelloWorld AuthResult

isWriteRequest :: Route HelloWorld -> HandlerFor HelloWorld Bool

authRoute :: HelloWorld -> Maybe (Route HelloWorld)

cleanPath :: HelloWorld -> [Text] -> Either [Text] [Text]

joinPath :: HelloWorld -> Text -> [Text] -> [(Text, Text)] -> Builder

addStaticContent :: Text -> Text -> ByteString -> HandlerFor HelloWorld (Maybe (Either Text (Route HelloWorld, [(Text, Text)])))

maximumContentLength :: HelloWorld -> Maybe (Route HelloWorld) -> Maybe Word64

maximumContentLengthIO :: HelloWorld -> Maybe (Route HelloWorld) -> IO (Maybe Word64)

makeLogger :: HelloWorld -> IO Logger

messageLoggerSource :: HelloWorld -> Logger -> Loc -> LogSource -> LogLevel -> LogStr -> IO ()

jsLoader :: HelloWorld -> ScriptLoadPosition HelloWorld

jsAttributes :: HelloWorld -> [(Text, Text)]

jsAttributesHandler :: HandlerFor HelloWorld [(Text, Text)]

makeSessionBackend :: HelloWorld -> IO (Maybe SessionBackend)

fileUpload :: HelloWorld -> RequestBodyLength -> FileUpload

shouldLogIO :: HelloWorld -> LogSource -> LogLevel -> IO Bool

yesodMiddleware :: ToTypedContent res => HandlerFor HelloWorld res -> HandlerFor HelloWorld res

yesodWithInternalState :: HelloWorld -> Maybe (Route HelloWorld) -> (InternalState -> IO a) -> IO a

defaultMessageWidget :: Html -> HtmlUrl (Route HelloWorld) -> WidgetFor HelloWorld ()

ParseRoute HelloWorld Source # 
Instance details

Defined in Foundation

Methods

parseRoute :: ([Text], [(Text, Text)]) -> Maybe (Route HelloWorld)

RenderRoute HelloWorld Source # 
Instance details

Defined in Foundation

Associated Types

data Route HelloWorld

Methods

renderRoute :: Route HelloWorld -> ([Text], [(Text, Text)])

RouteAttrs HelloWorld Source # 
Instance details

Defined in Foundation

Methods

routeAttrs :: Route HelloWorld -> Set Text

Read (Route HelloWorld) Source # 
Instance details

Defined in Foundation

Show (Route HelloWorld) Source # 
Instance details

Defined in Foundation

Methods

showsPrec :: Int -> Route HelloWorld -> ShowS #

show :: Route HelloWorld -> String #

showList :: [Route HelloWorld] -> ShowS #

Eq (Route HelloWorld) Source # 
Instance details

Defined in Foundation

Methods

(==) :: Route HelloWorld -> Route HelloWorld -> Bool #

(/=) :: Route HelloWorld -> Route HelloWorld -> Bool #

data Route HelloWorld Source # 
Instance details

Defined in Foundation

type Handler = HandlerFor HelloWorld Source #

type Widget = WidgetFor HelloWorld () Source #