Open victorevector opened 7 years ago
No docs for that yet, sorry, but the python client implementation might help, it's one file: https://github.com/foosel/OctoPrint/blob/master/src/octoprint_client/__init__.py
Most important parts is probably this method.
@foosel
Currently the iOS app is capturing printer events by polling the Octoprint server via its REST API. Could you point us in the right direction on how to tap into Octoprint's websocket capabilities. The official documentation doesn't explain how.