trasa-0.4: Type Safe Web Routing

Safe HaskellSafe
LanguageHaskell2010

Trasa.Codec

Contents

Synopsis

Capture Codecs

class HasCaptureEncoding capStrategy where Source #

Methods

captureEncoding :: capStrategy a -> CaptureEncoding a Source #

class HasCaptureDecoding capStrategy where Source #

Methods

captureDecoding :: capStrategy a -> CaptureDecoding a Source #

class HasCaptureCodec capStrategy where Source #

Methods

captureCodec :: capStrategy a -> CaptureCodec a Source #

Instances
HasCaptureCodec CaptureCodec Source # 
Instance details

Defined in Trasa.Codec

Body Codecs

class HasBodyEncoding bodyStrategy where Source #

Methods

bodyEncoding :: bodyStrategy a -> BodyEncoding a Source #

Instances
HasBodyEncoding BodyCodec Source # 
Instance details

Defined in Trasa.Codec

HasBodyEncoding BodyEncoding Source # 
Instance details

Defined in Trasa.Codec

class HasBodyDecoding bodyStrategy where Source #

Methods

bodyDecoding :: bodyStrategy a -> BodyDecoding a Source #

Instances
HasBodyDecoding BodyCodec Source # 
Instance details

Defined in Trasa.Codec

HasBodyDecoding BodyDecoding Source # 
Instance details

Defined in Trasa.Codec

class HasBodyCodec bodyStrategy where Source #

Methods

bodyCodec :: bodyStrategy a -> BodyCodec a Source #

Instances
HasBodyCodec BodyCodec Source # 
Instance details

Defined in Trasa.Codec

Type Class Based Codecs