serv-0.1.0.0: Dependently typed API server framework

Safe HaskellNone
LanguageHaskell2010

Serv.Internal.RawText

Synopsis

Documentation

newtype RawText Source #

RawText extracts as, like the name suggests, raw text from URI segments and header values.

It exists as a default value for extensibility of typeclasses like HeaderDecode and HeaderEncode

Constructors

RawText 

Fields

Instances

Eq RawText Source # 

Methods

(==) :: RawText -> RawText -> Bool #

(/=) :: RawText -> RawText -> Bool #

Ord RawText Source # 
Read RawText Source # 
Show RawText Source # 
IsString RawText Source # 

Methods

fromString :: String -> RawText #

Monoid RawText Source # 
URIDecode RawText Source # 
QueryDecode s RawText Source # 
QueryEncode s RawText Source # 
ReflectName n => HeaderDecode n RawText Source #

RawText enables capturing the data untouched from the header

ReflectName n => HeaderEncode n RawText Source #