mirror of
https://github.com/defold/extension-websocket.git
synced 2025-11-27 11:20:55 +01:00
3fe8fbc0ff97202856e99659a78121cd838df3f8
Defold websocket extension
Installation
To use this library in your Defold project, add the following URL to your game.project dependencies:
https://github.com/defold/extension-websocket/archive/master.zip
We recommend using a link to a zip file of a specific release.
API reference
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:
0to disable debugging (i.e. no debug output).1to display state changes.2to display the messages sent and received.
External resources
To verify that your websocket server works, you can test it with some tools.
Or, you can test your server on this web page:
Description
Languages
C
63.8%
C++
36.2%