Redis Serialization Protocol (RESP) Decoder. More...
#include <string>Go to the source code of this file.
Classes | |
| class | Resp |
| Response object for RESP commands. More... | |
| class | RespDecoder |
| RESP Decoder class. More... | |
Macros | |
| #define | CRLF "\r\n" |
Enumerations | |
| enum | Operation { SET , GET , DEL , UNKNOWN } |
| Enum for RESP operations. More... | |
Redis Serialization Protocol (RESP) Decoder.
This file contains the implementation of a RESP decoder thats responsible for parsing RESP commands and extracting the operation, key, and value from the input buffer. It also handles error cases and provides a structured response object.
| enum Operation |
Enum for RESP operations.
This enum defines the possible RESP operations that can be parsed from the input buffer. It includes SET, GET, DEL, and UNKNOWN.