Lines Matching refs:ws
35 ws = create_connection("ws://echo.websocket.org/")
37 ws.send("Hello, World")
40 result = ws.recv()
42 ws.close()
49 ws = create_connection("ws://echo.websocket.org/".
59 def on_message(ws, message):
62 def on_error(ws, error):
65 def on_close(ws):
68 def on_open(ws):
72 ws.send("Hello %d" % i)
74 ws.close()
81 ws = websocket.WebSocketApp("ws://echo.websocket.org/",
85 ws.on_open = on_open
87 ws.run_forever()
97 $ wsdump.py ws://echo.websocket.org/
113 ws_url websocket url. ex. ws://echo.websocket.org/
122 $ wsdump.py ws://echo.websocket.org/
123 $ wsdump.py ws://echo.websocket.org/ -v
124 $ wsdump.py ws://echo.websocket.org/ -vv
135 - WebSocketTimeoutException will be raised for ws/wss timeout(ISSUE#40)