Safe Haskell | None |
---|---|
Language | Haskell2010 |
- module Servant.API.Sub
- module Servant.API.Alternative
- module Servant.API.Capture
- module Servant.API.QueryParam
- module Servant.API.ReqBody
- module Servant.API.Get
- module Servant.API.Post
- module Servant.API.Delete
- module Servant.API.Put
- module Servant.API.Raw
- module Servant.Utils.StaticFiles
- module Servant.QQ
- module Servant.Utils.Links
Combinators
Type-level combinator for expressing subrouting: :>
module Servant.API.Sub
Type-level combinator for alternative endpoints: :<|>
module Servant.API.Alternative
Accessing information from the request
Capturing parts of the url path as parsed values: Capture
module Servant.API.Capture
Retrieving parameters from the query string of the URI
: QueryParam
module Servant.API.QueryParam
Accessing the request body as a JSON-encoded type: ReqBody
module Servant.API.ReqBody
Actual endpoints, distinguished by HTTP method
GET requests
module Servant.API.Get
POST requests
module Servant.API.Post
DELETE requests
module Servant.API.Delete
PUT requests
module Servant.API.Put
Untyped endpoints
Plugging in a wai Application
, serving directories
module Servant.API.Raw
module Servant.Utils.StaticFiles
Utilities
QuasiQuotes for endpoints
module Servant.QQ
Type-safe internal URLs
module Servant.Utils.Links