edit websocket examples