Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Classes | Enumerations
toolbox::resp Namespace Reference

Classes

class  BasicParser
 BasicParser is a class template for RESP (REdis Serialization Protocol) parsers. More...
 
struct  Exception
 

Enumerations

enum class  Type : char {
  None = '\0' , CommandLine = '\1' , SimpleString = '+' , Error = '-' ,
  Integer = ':' , BulkString = '$' , Array = '*'
}
 Type is an enumeration of the RESP data-types currently supported. More...
 

Enumeration Type Documentation

◆ Type

Type is an enumeration of the RESP data-types currently supported.

Enumerator
None 
CommandLine 
SimpleString 

For Simple Strings the first byte of the reply is "+".

Error 

For Errors the first byte of the reply is "-".

Integer 

For Integers the first byte of the reply is ":".

BulkString 

For Bulk Strings the first byte of the reply is "$".

Array 

For Arrays the first byte of the reply is "*".

Definition at line 34 of file Parser.hpp.