Safe Haskell | None |
---|---|
Language | Haskell2010 |
- module Servant.API.Sub
- module Servant.API.Alternative
- module Servant.API.Capture
- module Servant.API.Header
- module Servant.API.QueryParam
- module Servant.API.ReqBody
- module Servant.API.MatrixParam
- module Servant.API.Get
- module Servant.API.Post
- module Servant.API.Delete
- module Servant.API.Put
- module Servant.API.Patch
- module Servant.API.ContentTypes
- module Servant.API.ResponseHeaders
- module Servant.API.Raw
- module Servant.Common.Text
- module Servant.Utils.Links
Combinators
module Servant.API.Sub
Type-level combinator for expressing subrouting: :>
module Servant.API.Alternative
Type-level combinator for alternative endpoints: :<|>
Accessing information from the request
module Servant.API.Capture
Capturing parts of the url path as parsed values: Capture
module Servant.API.Header
Retrieving specific headers from the request
module Servant.API.QueryParam
Retrieving parameters from the query string of the URI
: QueryParam
module Servant.API.ReqBody
Accessing the request body as a JSON-encoded type: ReqBody
module Servant.API.MatrixParam
Retrieving matrix parameters from the URI
segment: MatrixParam
Actual endpoints, distinguished by HTTP method
module Servant.API.Get
GET
requests
module Servant.API.Post
POST
requests
module Servant.API.Delete
DELETE
requests
module Servant.API.Put
PUT
requests
module Servant.API.Patch
PATCH
requests
Content Types
module Servant.API.ContentTypes
Serializing and deserializing types based on Accept
and
Content-Type
headers.
Response Headers
module Servant.API.ResponseHeaders
Untyped endpoints
module Servant.API.Raw
Plugging in a wai Application
, serving directories
FromText and ToText
module Servant.Common.Text
Classes and instances for types that can be converted to and from Text
Utilities
module Servant.Utils.Links
Type-safe internal URIs