Web.Scotty

scotty-to-WAI

scotty

scottyApp

scottyOpts

scottySocket

data Options

Defining Middleware and Routes

middleware

get

post

put

delete

patch

options

addroute

matchAny

notFound

Route Patterns

capture

regex

function

literal

Accessing the Request, Captures, and Query Parameters

request

header

headers

body

bodyReader

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

finish

defaultHandler

liftAndCatchIO

Parsing Parameters

type Param

class Parsable a

readEither

Types

type ScottyM

type ActionM

data RoutePattern

type File