Exam-style question
Try this first
Compare a normal client-server request-and-response interaction with a WebSocket connection. Explain why WebSockets are useful and give an appropriate type of use.
Answer and explanation
Concise answer
In a normal client-server interaction, the client sends a request message and the server replies with a response message.
Why this is correct
The answer should contrast the request-response model with WebSocket persistence and full-duplex communication. It should explain that both parties can send data at any time and identify a suitable ongoing interactive use rather than claiming that WebSockets are a database or replace HTTP entirely.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
