WebSockets.

How to test a WebSocket connection directly in browser

This article documents a neat and simple way to establish and test a WebSocket connection, using just vanilla JavaScript and your favorite browser’s developer tools. Quick and easy – no external tools or libraries required! This is neat because you don’t want to have your information (credentials, hostnames, or even test data) leaking to outsiders hosting the tools – and using any external tools can be a bit of a drag anyway! In the sample found in a few paragraphs below, we’ll instantiate a WebSocket…Continue reading How to test a WebSocket connection directly in browser