Package kweb.client

Types

Client2ServerMessage
Link copied to clipboard
data class Client2ServerMessage(id: String, hello: Boolean?, error: Client2ServerMessage.ErrorMessage?, callback: Client2ServerMessage.C2SCallback?, keepalive: Boolean)
ClientConnection
Link copied to clipboard
sealed class ClientConnection
FunctionCall
Link copied to clipboard
data class FunctionCall(debugToken: String?, jsId: Int?, js: String?, parameters: String?, callbackId: Int?, arguments: List<JsonElement>)
HttpRequestInfo
Link copied to clipboard
data class HttpRequestInfo(request: ApplicationRequest)
RemoteClientState
Link copied to clipboard
data class RemoteClientState(id: String, clientConnection: ClientConnection, handlers: MutableMap<Int, (JsonElement) -> Unit>, debugTokens: MutableMap<String, DebugInfo>, lastModified: Instant)
Server2ClientMessage
Link copied to clipboard
data class Server2ClientMessage(yourId: String, functionCalls: List<FunctionCall>)
Server2client message