Issue 8: Handle the websocket close event

This commit is contained in:
JCash
2020-09-27 16:54:22 +02:00
parent 18a768774f
commit bd8569f49a
6 changed files with 114 additions and 56 deletions

View File

@@ -9,4 +9,14 @@ We recommend using a link to a zip file of a [specific release](https://github.c
## API reference
https://defold.com/extension-websocket/api/
https://defold.com/extension-websocket/api/
## Debugging
In order to make it easier to debug this extension, we provide a `game.project` setting `websocket.debug`.
Set it to:
* `0` to disable debugging (i.e. no debug output).
* `1` to display state changes.
* `2` to display the messages sent and received.