In the context of servlets, what is a key difference between HTTP and WebSocket protocols?

  • Connectionless protocol
  • Full-duplex communication
  • Request-Response model
  • Stateless communication
A key difference between HTTP and WebSocket protocols is that WebSocket enables full-duplex communication, allowing both the client and server to send messages independently in real-time.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *