Websocket client #6064
Replies: 1 comment
-
Posted at 2019-01-08 by @MaBecker Hi @user94507
have you checked this page? Posted at 2019-01-08 by fanThomas Yes of course, with this I made the connection. But it's missing the calls I mentioned in the post. Posted at 2019-01-08 by Ollie If you go direct to the module code you can appraise what calls are available - and also use as basis for modifying if not suit your need. http://www.espruino.com/modules/ws.js Posted at 2019-01-10 by fanThomas Many thanks! This changes everything. I did'nt found this resource before. Thomas Posted at 2019-01-10 by @MaBecker Great, just let me add that most module documentations have a link to the source code ;-) Attachments: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2019-01-08 by fanThomas
I am using the websocket client on a WEMOS board where i could establish a connection to my nodejs server. However the documentation on espruino is very basic. I could not find a reference and i am missing calls to close a connection and events to react on closing the connection from the server or a disconnect due to a network failure.
Is there some reference for these calls or is it still under development?
Beta Was this translation helpful? Give feedback.
All reactions