Use the Emscripten websocket library instead of POSIX socket emulation (#33)

* Switched to direct javascript websockets

* Skip the null termination on text messages when pushing

* Moved Emscripten callbacks and some other PR improvements

* STATE_CONNECT -> STATE_CREATE

* Changed disconnect logic

* Review feedback
This commit is contained in:
Björn Ritzl
2021-02-18 22:13:53 +01:00
committed by GitHub
parent b3afb9a276
commit efe9115413
6 changed files with 724 additions and 88 deletions

View File

@@ -14,4 +14,3 @@ _dependencies = https://github.com/GameAnalytics/defold-openssl/archive/1.0.0.zi
[library]
include_dirs = websocket