RedisX v0.9
A simple, light-weight Redis database client
Loading...
Searching...
No Matches
RESP Struct Reference

Structure that represents a Redis response (RESP format). More...

#include <redisx.h>

Data Fields

int n
 dimension of the value field.
 
enum resp_type type
 RESP type; RESP_ARRAY, RESP_INT ...
 
void * value
 

Detailed Description

Field Documentation

◆ n

int n

dimension of the value field.

Either the integer value of a RESP_INT or a RESP3_BOOLEAN response, or the

◆ value

void* value

Pointer to text (char *) content or to an array of components (RESP**) or (RedisMap *), or else a pointer to a double, depending on type.


The documentation for this struct was generated from the following file: