Site icon API Security Blog

HTTP is a half-duplex protocol, meaning that the client and server can only send data in one direction at any given time.

WebSockets: Full Duplex Communication Between Client & Server

In contrast to HTTP’s “half duplex” communication model, WebSockets use their own protocol over TCP connections (which are full duplex). This means that both the client and server can simultaneously send messages back and forth without waiting for each other to respond. The result is an asynchronous messaging system where clients can push information into web applications as well as receive updates from them
https://t.co/t70adawZ58

Exit mobile version