Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DefaultSession

DefaultSession holds state of a sequence of searches.

Hierarchy

  • DefaultSession

Implements

Index

Constructors

constructor

Properties

Private field

field: string

Private queryID

queryID: string = ""

Private sequence

sequence: number = 0

Private sessionData

sessionData: Values

Private trackingType

trackingType: TrackingType

Methods

next

  • next merges new values into the session and returns tracking data to be sent with search requests.

    Parameters

    Returns [Tracking, null] | [undefined, Error]

reset

  • reset(): void
  • reset resets the session instance to its empty state.

    Returns void

Generated using TypeDoc