Yesod.Core.Handler

# Handler monad

data HandlerT site m a

## Read information from handler

getYesod

getUrlRender

getUrlRenderParams

getCurrentRoute

getRequest

waiRequest

runRequestBody

rawRequestBody

## Request information

### Request datatype

type RequestBodyContents

data YesodRequest

data FileInfo

fileName

fileContentType

fileSource

fileMove

### Convenience functions

languages

### Lookup parameters

lookupGetParam

lookupPostParam

lookupCookie

lookupFile

#### Multi-lookup

lookupGetParams

lookupPostParams

lookupCookies

lookupFiles

# Responses

## Pure

respond

## Streaming

respondSource

sendChunk

sendFlush

sendChunkBS

sendChunkLBS

sendChunkText

sendChunkLazyText

sendChunkHtml

## Redirecting

class RedirectUrl master a

redirect

redirectWith

redirectToPost

## Errors

notFound

badMethod

notAuthenticated

permissionDenied

permissionDeniedI

invalidArgs

invalidArgsI

## Short-circuit responses.

sendFile

sendFilePart

sendResponse

sendResponseStatus

sendResponseCreated

sendWaiResponse

# Different representations

selectRep

provideRep

provideRepType

data ProvidedRep m

# Setting headers

setCookie

getExpires

deleteCookie

addHeader

setHeader

setLanguage

## Content caching and expiration

cacheSeconds

neverExpires

alreadyExpired

expiresAt

# Session

type SessionMap

lookupSession

lookupSessionBS

getSession

setSession

setSessionBS

deleteSession

clearSession

## Ultimate destination

setUltDest

setUltDestCurrent

setUltDestReferer

redirectUltDest

clearUltDest

## Messages

setMessage

setMessageI

getMessage

# Helpers for specific content

## Hamlet

hamletToRepHtml

giveUrlRenderer

## Misc

newIdent

# Lifting

handlerToIO

# i18n

getMessageRender

# Per-request caching

cached