Visitar URL original
HttpContextToken • Angular
The Wayback Machine - https://web.archive.org/web/20260113220907/https://angular.dev/api/common/http/HttpContextToken
    • Overview
@angular/common/http

HttpContextToken

Class
stable

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

API

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

constructor

HttpContextToken<T>
@paramdefaultValue() => T
@returnsHttpContextToken<T>

defaultValue

() => T
Jump to details