A CSE154 Exploration Session by Jeremy Zhang
https://staff.washington.edu/jkzhang/attendance
A bit about the attendance webapp
https://staff.washington.edu/jkzhang/attendance
Password:
rainbowdash
Eg: ChatIt
Eg: Google Docs
AJAX Long-Polling, but more modern.
Eg: Stock Tickers
Eg: The ".io games"
Discord
http ---> ws
https ---> wss
let ws = new WebSocket("wss://aggie.io/ws");
Initiates a secure websockets with aggie.io/ws page
let ws = new WebSocket("wss://aggie.io/ws");
ws.onmessage = function (message) { ... };
When a message is recieved from the server....
let ws = new WebSocket("wss://aggie.io/ws");
ws.onmessage = function (message) { ... };
ws.onclose = function () { ... };
When the server closes the websocket connection....
let ws = new WebSocket("wss://aggie.io/ws");
ws.onmessage = function (message) { ... };
ws.onclose = function () { ... };
ws.send(" message content here, as a string ");
Sending a message to the server....
(If you have a discord account)
Feel free to use this token (will be disabled shortly after the exploration session to prevent abuse, sowwy)
a token should be here...
You are interning at Titan Embeds and your boss has given you three files fresh off the website designer:
Your job is to implement a message ticker (similar to a stock ticker) so that your company can display the chat messages at a public television for all to observe. (Kinda like Kane Hall's events television that gets updated throughout the day.)