SsrEngine
constructor(nodeExecutable: String? = null, port: Int? = null, externalSsrService: String? = null, rpcUrlPrefix: String? = null, rootId: String? = null, contextPath: String? = null, cacheTime: Int = DEFAULT_SSR_CACHE_TIME)(source)
Parameters
nodeExecutable
a path to the Node.js executable. If not provided, the default node
command will be used.
port
a port for the SSR service. If not provided, the default port 7788
will be used.
externalSsrService
an external SSR service URL. If provided, the local SSR service will not be started.
rpcUrlPrefix
a prefix for the Kilua RPC fullstack services.
rootId
an ID of the root element in the HTML template.
contextPath
a context path for the application.
cacheTime
a default time to cache SSR content in minutes (default is 10).