| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
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'.
- module Rest.Resource
- module Rest.Schema
- module Rest.Handler
- module Rest.Dictionary.Types
- module Rest.Dictionary.Combinators
- module Rest.Error
Documentation
Creating a Resource.
module Rest.Resource
Defining the routing schema.
module Rest.Schema
Defining Handlers for endpoints in the resource.
module Rest.Handler
module Rest.Dictionary.Types
Combinators for defining input and ouput dictionaries of handlers.
module Rest.Dictionary.Combinators
Working with errors returned from handlers.
module Rest.Error