Web.Scotty.Trans

scotty-to-WAI

scottyT

scottyAppT

scottyOptsT

data Options

Defining Middleware and Routes

middleware

get

post

put

delete

patch

addroute

matchAny

notFound

Route Patterns

capture

regex

function

literal

Accessing the Request, Captures, and Query Parameters

request

header

headers

body

param

params

jsonData

files

Modifying the Response and Redirecting

status

addHeader

setHeader

redirect

Setting Response Body

text

html

file

json

stream

raw

Exceptions

raise

rescue

next

defaultHandler

class ScottyError e

Parsing Parameters

type Param

class Parsable a

readEither

Types

data RoutePattern

type File

Monad Transformers

data ScottyT e m a

data ActionT e m a