| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Blockfrost.Types.Shared.CBOR
Description
CBOR Servant support and wrapper type
Synopsis
- data CBOR
- newtype CBORString = CBORString ByteString
Documentation
Instances
| Accept CBOR Source # | |
Defined in Blockfrost.Types.Shared.CBOR | |
| MimeRender CBOR CBORString Source # | |
Defined in Blockfrost.Types.Shared.CBOR Methods mimeRender :: Proxy CBOR -> CBORString -> ByteString # | |
| MimeUnrender CBOR CBORString Source # | |
Defined in Blockfrost.Types.Shared.CBOR Methods mimeUnrender :: Proxy CBOR -> ByteString -> Either String CBORString # mimeUnrenderWithType :: Proxy CBOR -> MediaType -> ByteString -> Either String CBORString # | |
newtype CBORString Source #
Wrapper for CBOR encoded ByteStrings
used for submitting a transaction
Constructors
| CBORString ByteString |
Instances
| Eq CBORString Source # | |
Defined in Blockfrost.Types.Shared.CBOR | |
| Show CBORString Source # | |
Defined in Blockfrost.Types.Shared.CBOR Methods showsPrec :: Int -> CBORString -> ShowS # show :: CBORString -> String # showList :: [CBORString] -> ShowS # | |
| ToSample CBORString Source # | |
Defined in Blockfrost.Types.Shared.CBOR Methods toSamples :: Proxy CBORString -> [(Text, CBORString)] # | |
| MimeRender CBOR CBORString Source # | |
Defined in Blockfrost.Types.Shared.CBOR Methods mimeRender :: Proxy CBOR -> CBORString -> ByteString # | |
| MimeUnrender CBOR CBORString Source # | |
Defined in Blockfrost.Types.Shared.CBOR Methods mimeUnrender :: Proxy CBOR -> ByteString -> Either String CBORString # mimeUnrenderWithType :: Proxy CBOR -> MediaType -> ByteString -> Either String CBORString # | |