W3cubDocs

/Angular

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–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/common/http/HttpContextToken