redis_api: Create a Redis API object

View source: R/redis_api.R

redis_apiR Documentation

Create a Redis API object

Description

Create a Redis API object. This function is designed to be used from other packages, and not designed to be used directly by users.

Usage

redis_api(x, version = NULL)

Arguments

x

An object that defines at least the function command capable of processing commands in the form produced by RedisAPI (currently undocumented)

version

Version of the RedisAPI to generate. If given as a numeric version (or something that can be coerced into one. If given as TRUE, then we query the Redis server for its version and generate only commands supported by the server.


ropensci/RedisAPI documentation built on May 18, 2022, 9:46 a.m.