WebSockets.

How to test a web socket connection in browser?

This article documents a simple and neat way to establish and test a WebSocket connection, using just vanilla JavaScript and your favorite browser’s developer tools. Easy and quick – no external tools or libraries required! The The last line sends a simple payload down the websocket pipe, just to see if something happens. If there IS a response, we’ll be logging it in the console. Handy! The article does expect you to have your API already up and running, though :) Background WebSockets. They’re all…Continue reading How to test a web socket connection in browser?