Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RedisSessionStore

A SessionStore that uses a Redis to store the sessions and associated data. This assumes that the redis logical database (i.e. select) is only used to store the sessions to make size query reliable.

Hierarchy

  • any
    • RedisSessionStore

Index

Properties

Static Readonly DEFAULT_RETRY_TIMEOUT_MS

DEFAULT_RETRY_TIMEOUT_MS: number

Static Readonly DEFAULT_SESSIONID_LENGTH

DEFAULT_SESSIONID_LENGTH: number

Methods

Static create

  • Creates a RedisSessionStore with the default retry TO.

    Parameters

    • vertx: Vertx
    • redis: Redis

    Returns RedisSessionStore

  • Creates a RedisSessionStore with the given retry TO.

    Parameters

    • vertx: Vertx
    • retryTimeoutMs: number
    • redis: Redis

    Returns RedisSessionStore

Generated using TypeDoc