class Protocol
implements BaseProtocol
import { Protocol } from "https://deno.land/x/redis@v0.34.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(): Promise<RedisReply>
writeCommand(command: Command): Promise<void>