Servant.Server

# Run a wai application from an API

serve

serveWithContext

# Construct a wai Application from an API

toApplication

# Handlers for all standard combinators

class HasServer api context

type Server api

data EmptyServer

emptyServer

data Handler a

runHandler

# Debugging the server layout

layout

layoutWithContext

# Enter

## Basic functions and datatypes

enter

data (k :~> f) g

## `Nat` utilities

liftNat

runReaderTNat

evalStateTLNat

evalStateTSNat

logWriterTLNat

logWriterTSNat

## Functions based on mmorph

hoistNat

embedNat

squashNat

generalizeNat

tweakResponse

# Context

data Context contextTypes

class HasContextEntry context val

## NamedContext

data NamedContext name subContext

descendIntoNamedContext

# Basic Authentication

data BasicAuthCheck usr

data BasicAuthResult usr

# General Authentication

# Default error type

data ServantErr

## 3XX

err300

err301

err302

err303

err304

err305

err307

## 4XX

err400

err401

err402

err403

err404

err405

err406

err407

err409

err410

err411

err412

err413

err414

err415

err416

err417

err418

err422

## 5XX

err500

err501

err502

err503

err504

err505

# Re-exports

type Application

data Tagged k s b