Database.Redis.Internal
- data RedisReply
- data ByteString
- request :: Handle -> [ByteString] -> IO (Maybe RedisReply)
- crlf :: String
- toUTF8 :: String -> ByteString
- unwrapReply :: Maybe RedisReply -> String
Documentation
data RedisReply Source
Constructors
| RedisSingle ByteString | |
| RedisError ByteString | |
| RedisInteger Int | |
| RedisBulk [Maybe RedisReply] |
Instances
data ByteString
A space-efficient representation of a Word8 vector, supporting many
efficient operations. A ByteString contains 8-bit characters only.
Instances of Eq, Ord, Read, Show, Data, Typeable
request :: Handle -> [ByteString] -> IO (Maybe RedisReply)Source
Formats and sends the request
toUTF8 :: String -> ByteStringSource