Ha Tang Chat for Android
Toggle table of contents
jvm
Platform filter
jvm
Switch theme
Search in API
Ha Tang Chat for Android
chat-core
/
dev.hatang.chat.core.protocol
/
ClientFrame
/
toJson
to
Json
fun
toJson
(
id
:
String
?
=
null
,
version
:
Int
=
PROTOCOL_VERSION
)
:
JsonObject
The wire shape with the protocol version and an optional request
id
.