Fundamentals · Hard
What is a WebSocket and how is it different from HTTP?
FresherFundamentalsComputer Networks
Answer preview
HTTP is request-response — the client always initiates. WebSocket is full-duplex — either side can send messages anytime over a persistent connection.…