Package-level declarations

Types

Link copied to clipboard
data class CssChunk constructor(val ids: Array<String>, val key: String, val css: String)

Data class which holds a chunk of CSS code, which should be emitted as part of a larger SSR run. This class is used in particular for integration with Emotion's SSR engine.

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

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.

Link copied to clipboard
interface ResponseRenderer<R>

Describes the expected interface for a response rendering object.

Link copied to clipboard

Describes supported server-renderer API methods, which are used by the framework to translate result content from embedded SSR scripts.

Link copied to clipboard
interface ServerResponse

TBD

Link copied to clipboard

TBD.