Safe Haskell | Safe-Inferred |
---|---|
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
Show CBORString Source # | |
Defined in Blockfrost.Types.Shared.CBOR showsPrec :: Int -> CBORString -> ShowS # show :: CBORString -> String # showList :: [CBORString] -> ShowS # | |
Eq CBORString Source # | |
Defined in Blockfrost.Types.Shared.CBOR (==) :: CBORString -> CBORString -> Bool # (/=) :: CBORString -> CBORString -> Bool # | |
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 # |