GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Docs
  • Tutorials
  • Playground
  • Reference
  • code
  • `Request` on MDN
  • Accessing Request and Response via DI

This view

  • Original page
  • New address

GeezerVison is showing angular.dev — REQUEST • Angular

API

    
      const REQUEST: InjectionToken<Request | null>;
    
    

Description

Injection token representing the current HTTP request object.

Use this token to access the current request when handling server-side rendering (SSR).

Usage Notes

This token may be null in the following scenarios:

  • During the build processes.
  • When the application is rendered in the browser (client-side rendering).
  • When performing static site generation (SSG).
  • During route extraction in development (at the time of the request).
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.