redis-resp-0.2: REdis Serialization Protocol (RESP) implementation.

Safe HaskellNone

Data.Redis

Synopsis

Documentation

data Resp Source

Resp defines the various RESP constructors.

Constructors

Str !ByteString

RESP simple atrings

Err !ByteString

RESP errors

Int !Int64

RESP integers

Bulk !ByteString

RESP bulk strings

Array !Int [Resp]

RESP arrays

NullArray 
NullBulk 

Instances

resp :: Parser RespSource

An attoparsec parser to parse a single Resp value.