on 16dbf9b help sign in
41 lines 1.2 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.Alternative,
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,
27 -- * Utilities
28 -- | QuasiQuotes for endpoints
29 module Servant.API.QQ,
30 ) where
32import Servant.API.Capture
33import Servant.API.Delete
34import Servant.API.Get
35import Servant.API.Post
36import Servant.API.Put
37import Servant.API.QueryParam
38import Servant.API.QQ (sitemap)
39import Servant.API.ReqBody
40import Servant.API.Sub
41import Servant.API.Alternative