Options
All
  • Public
  • Public/Protected
  • All
Menu

Options common to both TCP and Sentinel Redis connections.

Hierarchy

Index

Properties

Optional autoResendUnfulfilledCommands

autoResendUnfulfilledCommands: undefined | false | true

Optional autoResubscribe

autoResubscribe: undefined | false | true

Optional connectTimeout

connectTimeout: undefined | number

Optional connectionName

connectionName: undefined | string

Optional db

db: undefined | number

Optional dropBufferSupport

dropBufferSupport: undefined | false | true

Optional enableOfflineQueue

enableOfflineQueue: undefined | false | true

Optional enableReadyCheck

enableReadyCheck: undefined | false | true

Optional keepAlive

keepAlive: undefined | number

Optional keyPrefix

keyPrefix: undefined | string

Optional lazyConnect

lazyConnect: undefined | false | true

Optional noDelay

noDelay: undefined | false | true

Optional password

password: undefined | string

protocol

protocol: string

Optional readOnly

readOnly: undefined | false | true

Optional stringNumbers

stringNumbers: undefined | false | true

Optional tls

tls: Tls.TlsOptions

Methods

Optional reconnectOnError

  • reconnectOnError(error: Error): boolean | 1 | 2

Optional retryStrategy

  • retryStrategy(times: number): number | false

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc