Stone.js API
    Preparing search index...

    Options for the Redis driver.

    interface RedisLimiterConfig {
        client?: unknown;
        driver?: RateLimitDriver;
        name: string;
        prefix?: string;
        [key: string]: unknown;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: unknown

      Anything the driver needs.

    Index
    client?: unknown

    An ioredis client, or the options to build one.

    Which driver builds it. Defaults to memory.

    name: string

    The name it is resolved under.

    prefix?: string

    Key prefix, so several applications can share one Redis. Defaults to ratelimit:.