Blink DB Documentation v1.0.0
Blink DB Documentation
 
Loading...
Searching...
No Matches
resp_encoder.hpp File Reference

Used to encode messages into RESP (REdis Serialization Protocol) format. More...

#include <string>

Go to the source code of this file.

Classes

class  RespEncoder
 

Detailed Description

Used to encode messages into RESP (REdis Serialization Protocol) format.

Author
Gana Jayant Sigadam

This class provides static methods to encode different types of RESP messages, including simple strings, errors, integers, bulk strings, and null responses. Each method returns a string formatted according to the RESP protocol. The RESP protocol is used by Redis for communication between the client and server.

Version
1.0
Date
March 2025