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

x/redis/protocol/deno_streams/mod.ts>Protocol

πŸ¦• Redis client for Deno πŸ•
Very Popular
Latest
class Protocol
implements BaseProtocol
import { Protocol } from "https://deno.land/x/redis@v0.33.0/protocol/deno_streams/mod.ts";

Constructors

new
Protocol(conn: Deno.Conn)

Methods

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