Package-level declarations

Types

Link copied to clipboard
open class Http : JsAny

Node.js HTTP class.

Link copied to clipboard
object http : Http

Node.js HTTP module.

Link copied to clipboard

Node.js HTTP server incoming message.

Link copied to clipboard
class Server : JsAny

Node.js HTTP server.

Link copied to clipboard

Node.js HTTP server server response.

Functions

Link copied to clipboard

Compress String to encoded URI component.

Link copied to clipboard

Decompress encoded URI component to String.

Link copied to clipboard

Get a command line parameter value.

Link copied to clipboard

Get the context path configured for the SSR engine.

Link copied to clipboard
inline fun <T> getSsrState(json: Json = Json.Default): T?
Link copied to clipboard
@Composable
fun RouteBuilder.SsrRouteEffect(key: String? = null, block: suspend CoroutineScope.() -> Unit)
@Composable
fun RouteBuilder.NoMatch.SsrRouteEffect(key: String? = null, block: suspend CoroutineScope.() -> Unit)

LaunchedEffect wrapper prepared to catch and execute effect for all not matched routes. Use to make sure all routes are processed with SSR engine.

Link copied to clipboard
@Composable
fun IComponent.SsrRouter(initPath: String, ssrCondition: Boolean = true, stateSerializer: () -> String? = null, routeBuilder: @Composable RouteBuilder.() -> Unit)

A router supporting Server-Side Rendering (SSR). Uses a BrowserRouter when running in the browser and a custom router when running on the server.

@Composable
fun IComponent.SsrRouter(initPath: String, ssrCondition: Boolean = true, stateSerializer: () -> String? = null, routeBuilder: @Composable RouteBuilder.(done: () -> Unit) -> Unit)

A router supporting Server-Side Rendering (SSR) with manual "done" callback. Uses a BrowserRouter when running in the browser and a custom router when running on the server.