test local websocket connection code example Example: how to test websocket use https://websocketking.com/ to test websocket in web