The subscribe option.

Hierarchy

  • SubscribeOptions

Constructors

  • Parameters

    • Optional props: Partial<{
          withLock?: boolean;
          withMessage?: boolean;
          withMetadata?: boolean;
          withPresence?: boolean;
      }>

    Returns SubscribeOptions

Properties

withLock?: boolean = false

Whether to subscribe channel with lock

withMessage?: boolean = true

Whether to subscribe channel with message

withMetadata?: boolean = false

Whether to subscribe channel with metadata

withPresence?: boolean = true

Whether to subscribe channel with user presence