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