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