on e255b1f help sign in
30 lines 861 B history raw
1module Servant.API (
3 -- * Combinators
4 -- | Type-level combinator for expressing routing, captures, get parameters, etc.
5 module Servant.API.Sub,
6 -- | Type-level combinator for alternative endpoints
7 module Servant.API.Union,
9 -- * Accessing information from the request
10 -- | Capturing parts of the url path as parsed values
11 module Servant.API.Capture,
12 -- | Retrieving parameters from the query part of the 'URI'
13 module Servant.API.GetParam,
14 -- | Accessing the request's body
15 module Servant.API.RQBody,
17 -- * Actual endpoints, distinguished by HTTP method
18 -- | GET requests
19 module Servant.API.Get,
20 -- | POST requests
21 module Servant.API.Post,
22 ) where
24import Servant.API.Capture
25import Servant.API.Get
26import Servant.API.GetParam
27import Servant.API.Post
28import Servant.API.RQBody
29import Servant.API.Sub
30import Servant.API.Union