C.W.K.
Stream
Quiz · 4 questions

🖥️ Browser WebSocket API

Constructor, four events, ready states, binary, reconnection, heartbeat

Level 0Poller
0 XP0/60 lessons0/10 achievements
0/120 XP to next level120 XP to go0% complete

Quiz

01What is ws.readyState immediately after new WebSocket(url) returns?
02Which close code means 'normal closure'?
03Why does the browser WebSocket NOT auto-reconnect?
04Which property makes binary frames arrive as ArrayBuffer instead of Blob?
Spotted a bug or have feedback on this page?Report an Issue

Comments 0

🔔 Reply notifications (sign in)
Sign inPlease sign in to comment.

No comments yet — be the first.