Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StorageMeta

Hierarchy

  • StorageMeta

Implements

Index

Constructors

constructor

Properties

expires

expires: number = null

json

json: boolean = true

Methods

canExpire

  • canExpire(): boolean
  • Returns boolean

expiresIn

  • expiresIn(minutes: number): void
  • Parameters

    • minutes: number

    Returns void

isExpired

  • isExpired(): boolean
  • Returns boolean

isJSON

  • isJSON(): boolean
  • Returns boolean

merge

setJSON

  • setJSON(val: boolean): void
  • Parameters

    • val: boolean

    Returns void

toString

  • toString(): string
  • Returns string

Static create

Static fromString

  • Parameters

    • meta: string

    Returns StorageMeta

Generated using TypeDoc