WebSockets

what is http?

HTTP is a protocol over we can access our web applications, it follows request -response model, it is a unidirectional protocol, http typically operates over port 80 for regular traffic, and https (HTTP Secure) operates over port 443 for encrypted communication.

what is websocket?

WebSocket's allow for bidirectional communication, meaning both the client and server can send messages to each other asynchronously without waiting for a request-response cycle.