rest-core-0.39.0.2: Rest API library.

Safe HaskellNone
LanguageHaskell98

Rest

Description

These modules allow you to define a single REST resource. Then, you can combine multiple resources into an API using Rest.Api, and run them using 'rest-happstack' or 'rest-snap', or generate client code or documentation using 'rest-gen'.

Synopsis

Documentation

Creating a Resource.

Defining the routing schema.

Defining Handlers for endpoints in the resource.

Combinators for defining input and ouput dictionaries of handlers.

Working with errors returned from handlers.

module Rest.Error