http-kinder-0.2.0.0: Generic kinds and types for working with HTTP

Safe HaskellNone
LanguageHaskell2010

Network.HTTP.Kinder.Header

Description

Re-exports generally useful values from Network.HTTP.Kinder.Header.Definitions and Network.HTTP.Kinder.Header.Serialization.

HTTP headers handled at the type level. This module provides types and kinds (with DataKinds enabled) to represent most headers as types and serialize or desrialize header values accordingly.

For instance, these methods describe that we can interpret values at the ContentType header as a set of media types or at AccessControlMaxAge as a NominalDiffTime. See the instances for HeaderEncode and HeaderDecode for more detail.

Documentation