| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Servant.API.ContentTypes.Flat
Synopsis
- data FlatFmt
Documentation
Content-type for instances of the Flat class in the package
"flat".
Instances
| Accept FlatFmt Source # | Mime-type using the word "hackage" and the name of the package "flat". |
Defined in Servant.API.ContentTypes.Flat | |
| Flat a => MimeRender FlatFmt a Source # |
|
Defined in Servant.API.ContentTypes.Flat Methods mimeRender :: Proxy FlatFmt -> a -> ByteString # | |
| Flat a => MimeUnrender FlatFmt a Source # |
|
Defined in Servant.API.ContentTypes.Flat Methods mimeUnrender :: Proxy FlatFmt -> ByteString -> Either String a # mimeUnrenderWithType :: Proxy FlatFmt -> MediaType -> ByteString -> Either String a # | |