Safe Haskell | None |
---|---|
Language | Haskell2010 |
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 mimeRender :: Proxy CBOR -> CBORString -> ByteString # | |
MimeUnrender CBOR CBORString Source # | |
Defined in Blockfrost.Types.Shared.CBOR mimeUnrender :: Proxy CBOR -> ByteString -> Either String CBORString # mimeUnrenderWithType :: Proxy CBOR -> MediaType -> ByteString -> Either String CBORString # |
newtype CBORString Source #
Wrapper for CBOR encoded ByteString
s
used for submitting a transaction
Instances
Eq CBORString Source # | |
Defined in Blockfrost.Types.Shared.CBOR (==) :: CBORString -> CBORString -> Bool # (/=) :: CBORString -> CBORString -> Bool # | |
Show CBORString Source # | |
Defined in Blockfrost.Types.Shared.CBOR showsPrec :: Int -> CBORString -> ShowS # show :: CBORString -> String # showList :: [CBORString] -> ShowS # | |
ToSample CBORString Source # | |
Defined in Blockfrost.Types.Shared.CBOR toSamples :: Proxy CBORString -> [(Text, CBORString)] # | |
MimeRender CBOR CBORString Source # | |
Defined in Blockfrost.Types.Shared.CBOR mimeRender :: Proxy CBOR -> CBORString -> ByteString # | |
MimeUnrender CBOR CBORString Source # | |
Defined in Blockfrost.Types.Shared.CBOR mimeUnrender :: Proxy CBOR -> ByteString -> Either String CBORString # mimeUnrenderWithType :: Proxy CBOR -> MediaType -> ByteString -> Either String CBORString # |