implementation("com.github.ArcticLampyrid.KtJsonRpcPeer:KtJsonRpcPeer:0.13.0")
KtJsonRpcPeer is a Kotlin library that implements JSON-RPC 2.0 in Peer mode. It's full-duplex, supporting two-way procedure call. It can work well with WebSocket.