Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion websockets/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# WebSockets - [Live Demo](https://ellie-app.com/8yYgw7y7sM2a1)

This is a minimal example of how to connect to a WebSocket. It connects to `wss://echo.websocket.org` which just repeats whatever you say.
This is a minimal example of how to connect to a WebSocket. It connects to `wss://ws.postman-echo.com/raw` which just repeats whatever you say.

![Demo](demo.gif)

Expand Down
2 changes: 1 addition & 1 deletion websockets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
});

// Create your WebSocket.
var socket = new WebSocket('wss://echo.websocket.org');
var socket = new WebSocket('wss://ws.postman-echo.com/raw');

// When a command goes to the `sendMessage` port, we pass the message
// along to the WebSocket.
Expand Down