• 개요
@angular/core

REQUEST_CONTEXT

상수
안정화

Injection token for additional request context.

API

    
      const REQUEST_CONTEXT: InjectionToken<unknown>;
    
    

설명

Injection token for additional request context.

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

사용 시 참고사항

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

상세 내용으로 이동