W3cubDocs

/Angular 7

ServerTransferStateModule

ngmodule

NgModule to install on the server side while using the TransferState to transfer state from server to client.

class ServerTransferStateModule {
}

Providers

Provider
TransferState
{
    provide: BEFORE_APP_SERIALIZED,
    useFactory: serializeTransferStateFactory,
    deps: [DOCUMENT, APP_ID, TransferState],
    multi: true
}

© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v7.angular.io/api/platform-server/ServerTransferStateModule