initial
This commit is contained in:
11
pythonExample/example.py
Normal file
11
pythonExample/example.py
Normal file
@@ -0,0 +1,11 @@
|
||||
import websocket
|
||||
import json
|
||||
|
||||
ws = websocket.WebSocket()
|
||||
ws.connect("wss://server:3000")
|
||||
|
||||
ws.send(json.dumps({
|
||||
"type":"jog",
|
||||
"axis":"x",
|
||||
"value":10
|
||||
}))
|
||||
Reference in New Issue
Block a user