Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the websocket server to wss://ws.postman-echo.com/raw from wss://echo.websocket.org since the latter no longer exists. #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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