Skip to content

Commit

Permalink
chore: readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
ryccoatika committed Dec 24, 2023
1 parent 0c4a630 commit 110637c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ val socketClientCallback = object : SocketClientCallback {
override fun onDisconnected() {
// called when client call disconnect() or server has gone
}

override fun onMessageReceived(message: String) {
// message received from server
}
}
socketClient.setSocketClientCallback(socketClientCallback)
```
Expand Down

0 comments on commit 110637c

Please sign in to comment.