@angular/platform-server
From Get docs
Angular/docs/10/api/platform-server
@angular/platform-server
package
Supports delivery of Angular apps on a server, for use with server-side rendering (SSR).
For more information, see Server-side Rendering: An intro to Angular Universal.
Entry points
Primary
@angular/platform-server
|
Supports delivery of Angular apps on a server, for use with server-side rendering (SSR). |
Secondary
@angular/platform-server/testing
|
Supplies a testing module for the Angular platform server subsystem. |
Primary entry point exports
NgModules
ServerModule
|
The ng module for the server. |
ServerTransferStateModule
|
NgModule to install on the server side while using the TransferState to transfer state from server to client.
|
Classes
PlatformState
|
Representation of the current platform state. |
Functions
renderModule
|
Renders a Module to string. |
renderModuleFactory
|
Renders a NgModuleFactory to string. |
Structures
PlatformConfig
|
Config object passed to initialize the platform. |
Types
BEFORE_APP_SERIALIZED
|
A function that will be executed when calling renderModuleFactory or renderModule just before current platform state is rendered to string.
|
INITIAL_CONFIG
|
The DI token for setting the initial config for the platform. |
platformDynamicServer
|
The server platform that supports the runtime compiler. |
platformServer
|
© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v10.angular.io/api/platform-server