import { sendCommand } from "https://deno.land/x/r2d2@v0.0.10/mod.ts";
Sends a command to the Redis server and returns the parsed reply.
Example:
const redisConn = await Deno.connect({ port: 6379 });
// Returns "OK"
await sendCommand(redisConn, ["SET", "hello", "world"]);
// Returns "world"
await sendCommand(redisConn, ["GET", "hello"]);
Parameters
redisConn: Deno.Conn