riak-0.8.0.0: A Haskell client for the Riak decentralized data store

Copyright(c) 2011 MailRank, Inc.
LicenseApache
MaintainerMark Hibberd <mark@hibberd.id.au>, Nathan Hunter <nhunter@janrain.com>
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Network.Riak.Content

Contents

Description

Low-level content and link types and functions.

Synopsis

Types

Functions

empty :: Content Source

An empty piece of content.

binary :: ByteString -> Content Source

Content encoded as application/octet-stream.

json :: ToJSON a => a -> Content Source

Content encoded as application/json.

link :: Bucket -> Key -> Tag -> Link Source

Create a link.