Web.Spock.Core

Lauching Spock

runSpock

runSpockNoBanner

spockAsApp

Spock's route definition monad

spockT

spockLimT

spockConfigT

type SpockT

data SpockCtxT ctx m a

Defining routes

data Path as pathState

root

type Var a

var

static

(<//>)

wildcard

Rendering routes

renderRoute

Hooking routes

subcomponent

prehook

get

post

getpost

head

put

delete

patch

hookRoute

hookRouteCustom

hookAny

hookAnyCustom

data StdMethod

Adding Wai.Middleware

middleware

Actions

Config

data SpockConfig

defaultSpockConfig

Internals

hookRoute'

hookAny'

data SpockMethod

data HttpMethod