Safe Haskell | None |
---|---|
Language | Haskell2010 |
Common types useful for the "kinder" HTTP system.
Documentation
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
would return exactly the text value of the header whereas one for Raw
Text
Text
would only parse if the values were quoted.
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 |