Simple websocket client in Python

If you’re developing a websocket app you may need to throw some tests at it. Whilst looking for a websocket client I came across this client, ¬†which makes it very easy to generate websocket calls

To test it out:

    1. pip install websocket-client
    2. python
      1. import websocket
      2. ws = websocket.WebSocket()
      3. ws.connect(“ws://example.com/websocket”)
      4. ws.send(“Hello, World”)