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 Source # |
|
MimeUnrender CBOR CBORString Source # | |
Defined in Blockfrost.Types.Shared.CBOR mimeUnrender :: Proxy CBOR -> ByteString -> Either String CBORString Source # mimeUnrenderWithType :: Proxy CBOR -> MediaType -> ByteString -> Either String CBORString Source # |
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 Source # (/=) :: CBORString -> CBORString -> Bool Source # |
|
Show CBORString Source # | |
Defined in Blockfrost.Types.Shared.CBOR |
|
ToSample CBORString Source # | |
Defined in Blockfrost.Types.Shared.CBOR toSamples :: Proxy CBORString -> [( Text , CBORString )] Source # |
|
MimeRender CBOR CBORString Source # | |
Defined in Blockfrost.Types.Shared.CBOR mimeRender :: Proxy CBOR -> CBORString -> ByteString Source # |
|
MimeUnrender CBOR CBORString Source # | |
Defined in Blockfrost.Types.Shared.CBOR mimeUnrender :: Proxy CBOR -> ByteString -> Either String CBORString Source # mimeUnrenderWithType :: Proxy CBOR -> MediaType -> ByteString -> Either String CBORString Source # |