• 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