Skip to main content
Deno 2 is finally here πŸŽ‰οΈ
Learn more
Module

x/redis/protocol/shared/protocol.ts>Protocol

πŸ¦• Redis client for Deno πŸ•
Very Popular
Latest
interface Protocol
import { type Protocol } from "https://deno.land/x/redis@v0.34.0/protocol/shared/protocol.ts";

Methods

sendCommand(
command: string,
args: Array<RedisValue>,
returnsUint8Arrays?: boolean,
): Promise<RedisReply>
readReply(returnsUint8Array?: boolean): Promise<RedisReply>
writeCommand(command: Command): Promise<void>
pipeline(commands: Array<Command>): Promise<Array<RedisReply | ErrorReplyError>>