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

Safe HaskellNone
LanguageHaskell2010

Network.HTTP.Kinder.Common

Description

Common types useful for the "kinder" HTTP system.

Synopsis

Documentation

newtype Raw a Source

Raw is an identity-like newtype wrapper which is used as an indicator that a serialization should return the "raw" underlying values. For instance, an instance of HeaderDecode for Raw Text would return exactly the text value of the header whereas one for Text would only parse if the values were quoted.

Constructors

Raw 

Fields

getRaw :: a
 

Instances

QueryDecode s (Raw Text) Source 
QueryEncode s (Raw Text) Source 
HeaderDecode n (Raw Text) Source

Returns the raw header value

HeaderEncode n (Raw Text) Source

Reports a "raw" value without interpretation

Eq a => Eq (Raw a) Source 
Ord a => Ord (Raw a) Source 
Read a => Read (Raw a) Source 
Show a => Show (Raw a) Source 
IsString a => IsString (Raw a) Source 
Monoid a => Monoid (Raw a) Source 
URIDecode (Raw Text) Source