Client2ServerMessage

data class Client2ServerMessage(id: String, hello: Boolean?, error: Client2ServerMessage.ErrorMessage?, callback: Client2ServerMessage.C2SCallback?, keepalive: Boolean)

Types

C2SCallback
Link copied to clipboard
data class C2SCallback(callbackId: Int, data: JsonElement)
ErrorMessage
Link copied to clipboard
data class ErrorMessage(debugToken: String, error: Client2ServerMessage.ErrorMessage.Error)

Properties

callback
Link copied to clipboard
val callback: Client2ServerMessage.C2SCallback? = null
error
Link copied to clipboard
val error: Client2ServerMessage.ErrorMessage? = null
hello
Link copied to clipboard
val hello: Boolean? = true
id
Link copied to clipboard
val id: String
keepalive
Link copied to clipboard
val keepalive: Boolean = false