How does the WebSocket protocol handle message framing compared to HTTP?

  • Messages are framed using JSON format.
  • Messages are framed using XML format.
  • Messages are framed using headers and payload.
  • Messages are not framed; they are sent as a continuous stream.
The WebSocket protocol handles message framing by using headers and payload, unlike HTTP, where messages are not framed, and they are sent as a continuous stream.
Add your answer
Loading...

Leave a comment

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