on 641ee69 help sign in
36 lines 1.0 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 part of the 'URI': @'GetParam'@
13 module Servant.API.GetParam,
14 -- | Accessing the request's body: @'RQBody'@
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 -- | 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.GetParam
32import Servant.API.Post
33import Servant.API.Put
34import Servant.API.RQBody
35import Servant.API.Sub
36import Servant.API.Union