angular / 12.2.13 / api / common / http / httpcontexttoken.html /

HttpContextToken

class final

A token used to manipulate and access values stored in HttpContext.

class HttpContextToken<T> {
  constructor(defaultValue: () => T)
  defaultValue: () => T
}

Constructor

constructor(defaultValue: () => T)

Parameters
defaultValue () => T

Properties

Property Description
defaultValue: () => T Read-Only Declared in Constructor

© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v12.angular.io/api/common/http/HttpContextToken