on 7ca6b26 help sign in
36 lines 1.1 kB history raw
1module Servant.API (
3 -- * Combinators
4 -- | Type-level combinator for expressing subrouting: @':>'@
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: @'Capture'@
11 module Servant.API.Capture,
12 -- | Retrieving parameters from the query string of the 'URI': @'QueryParam'@
13 module Servant.API.QueryParam,
14 -- | Accessing the request body as a JSON-encoded type: @'ReqBody'@
15 module Servant.API.ReqBody,
17 -- * Actual endpoints, distinguished by HTTP method
18 -- | GET requests
19 module Servant.API.Get,
20 -- | POST requests
21 module Servant.API.Post,
22 -- | DELETE requests
23 module Servant.API.Delete,
24 -- | PUT requests
25 module Servant.API.Put,
26 ) where
28import Servant.API.Capture
29import Servant.API.Delete
30import Servant.API.Get
31import Servant.API.Post
32import Servant.API.Put
33import Servant.API.QueryParam
34import Servant.API.ReqBody
35import Servant.API.Sub
36import Servant.API.Union