Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HttpState

Hierarchy

  • HttpState

Index

Methods

Static get

  • get<T>(key: string, defaultValue: T): T

Static hasKey

  • hasKey<T>(key: string): boolean

Static onSerialize

  • onSerialize<T>(key: string, callback: () => T): void
  • Type parameters

    • T

    Parameters

    • key: string
    • callback: () => T
        • (): T
        • Returns T

    Returns void

Static remove

  • remove<T>(key: string): T | undefined

Static set

  • set<T>(key: string, value: T): void

Static toJson

  • toJson(): string