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.
Loading...
Related Quiz
- To minimize server load, servlets can implement _________ to handle asynchronous processing.
- To mitigate DOM-based XSS attacks, one should avoid using _________ directly with user input.
- What is the role of the AsyncListener in the servlet's asynchronous mode?
- _________ is a security standard that prevents the browser from interpreting user input as script.
- Which of the following is a common practice for ensuring thread safety in servlets?