Q
What does a WebSocket provide?
-
A
A one-way request and response like plain HTTP
-
B
A DNS lookup
-
C
A persistent, full-duplex connection between the browser and the server, for real-time data
-
D
A file transfer protocol
Correct Answer:
C. A persistent, full-duplex connection between the browser and the server, for real-time data
Explanation:
WebSockets suit live dashboards, such as real-time weather sensor readings.