RenderedStream

data class RenderedStream constructor(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.

Constructors

Link copied to clipboard
constructor(status: Int, html: String, headers: Map<String, String>, criticalCss: String, styleChunks: Array<CssChunk>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val status: Int
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int