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
@Composable
fun IComponent.AsyncSsrRouter(initPath: String = "/", contextPath: String = getContextPath(), active: Boolean = true, stateSerializer: () -> String? = null, routeBuilder: @Composable RouteBuilder.() -> Unit)

A router supporting Server-Side Rendering (SSR).

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 routeAction(vararg keys: String?, block: suspend CoroutineScope.() -> Unit)

LaunchedEffect wrapper which automatically add route path as a key. Used to make sure all routes are processed with the SSR engine.

Link copied to clipboard
@Composable
fun IComponent.SimpleSsrRouter(initPath: String = "/", contextPath: String = getContextPath(), stateSerializer: () -> String? = null, routeBuilder: @Composable RouteBuilder.() -> Unit)

A router supporting Server-Side Rendering (SSR).