[ Web Proxy ]
URL:
Viewing: https://angular.dev/api/common/http/HttpContextToken [Back]  [Original]

HttpContextToken Angular Skip to main content
menu
close
more_horiz
menuAPI
@angular/common/http

HttpContextToken

Class
stable

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

Request and response metadata

On this page

    arrow_upward_alt Back to the top

    API

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

    constructor

    HttpContextToken<T>
    @paramdefaultValue() => T
    @returnsHttpContextToken<T>
    Jump to details

    Web Proxy Viewer  |  New URL  |  Original Page