Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data SdbMetadata Source
data SdbConfiguration qt Source
sdbHttpGet :: ByteString -> SdbConfiguration qt Source
sdbHttpsGet :: ByteString -> SdbConfiguration qt Source
sdbSignQuery :: [(ByteString, ByteString)] -> SdbConfiguration qt -> SignatureData -> SignedQuery Source
sdbResponseConsumer :: (Cursor -> Response SdbMetadata a) -> IORef SdbMetadata -> HTTPResponseConsumer a Source
class SdbFromResponse a where Source
sdbFromResponse :: Cursor -> Response SdbMetadata a Source
sdbCheckResponseType :: MonadThrow m => a -> Text -> Cursor -> m a Source
decodeBase64 :: MonadThrow m => Cursor -> m Text Source
ForAttribute | |
|
ListResponse SelectResponse (Item [Attribute Text]) | |
Show a => Show (Attribute a) |
readAttribute :: MonadThrow m => Cursor -> m (Attribute Text) Source
data SetAttribute Source
attributeQuery :: (a -> [(ByteString, ByteString)]) -> Attribute a -> [(ByteString, ByteString)] Source
addAttribute :: Text -> Text -> Attribute SetAttribute Source
replaceAttribute :: Text -> Text -> Attribute SetAttribute Source
setAttributeQuery :: SetAttribute -> [(ByteString, ByteString)] Source
data DeleteAttribute Source
data ExpectedAttribute Source
expectedValue :: Text -> Text -> Attribute ExpectedAttribute Source
expectedExists :: Text -> Bool -> Attribute ExpectedAttribute Source
ListResponse SelectResponse (Item [Attribute Text]) | |
Show a => Show (Item a) |
itemQuery :: (a -> [(ByteString, ByteString)]) -> Item a -> [(ByteString, ByteString)] Source