Arduino-Redis
A Redis library for Arduino.
Public Member Functions | List of all members
RedisSimpleString Class Reference

Detailed Description

A Simple String: https://redis.io/topics/protocol#resp-simple-strings

Definition at line 68 of file RedisInternal.h.

Public Member Functions

 RedisSimpleString (Client &c)
 
virtual String RESP () override
 
- Public Member Functions inherited from RedisObject
 RedisObject (Type tc)
 
 RedisObject (Type tc, Client &c)
 
virtual void init (Client &client)
 
virtual operator String ()
 
Type type () const
 

Additional Inherited Members

- Public Types inherited from RedisObject
enum  Type {
  NoType = '\0', SimpleString = '+', Error = '-', Integer = ':',
  BulkString = '$', Array = '*', InternalError = '!'
}
 
- Static Public Member Functions inherited from RedisObject
static std::shared_ptr< RedisObjectparseType (Client &)
 
- Protected Attributes inherited from RedisObject
String data
 
Type _type = Type::NoType
 

#include <RedisInternal.h>

Inheritance diagram for RedisSimpleString:
Inheritance graph
[legend]

Member Function Documentation

◆ RESP()

String RedisSimpleString::RESP ( )
overridevirtual

Produce the Redis serialization protocol (RESP) representation. Must be overridden.

Implements RedisObject.

Definition at line 38 of file RedisInternal.cpp.