[ Web Proxy ]
URL:
Viewing: https://angular.dev/api/core/REQUEST_CONTEXT [Back]  [Original]

REQUEST_CONTEXT Angular Skip to main content
menu
close
more_horiz
menuAPI
@angular/core

REQUEST_CONTEXT

constant
stable

Injection token for additional request context.

Accessing Request and Response via DI

On this page

    arrow_upward_alt Back to the top

    API

        
          const REQUEST_CONTEXT: InjectionToken<unknown>;
        
        

    Description

    Injection token for additional request context.

    Use this token to pass custom metadata or context related to the current request in server-side rendering.

    Usage Notes

    This token is only available during server-side rendering and will be null in other contexts.

    Jump to details

    Web Proxy Viewer  |  New URL  |  Original Page