RenderedStream
data class RenderedStream(val status: Int, val html: String, val headers: Map<String, String>, val criticalCss: String, val styleChunks: Array<CssChunk>)
SSR: Rendered Stream
Data class which represents a rendered and streamed SSR response. Such responses are composed of headers (as all HTTP responses are), front matter (<head>
content), and chunked body content.
Parameters
status
HTTP return status.
html
HTML code to be emitted.
headers
HTTP headers to be emitted in the response.
criticalCss
Critical CSS to be emitted as front-matter.
styleChunks
Additional style chunks to emit.