The correct answer is D. WebSocket is a stateful, bidirectional, and connection-oriented protocol.
A stateful protocol is one that maintains state between requests. This means that the server can keep track of the client’s current state and respond accordingly. For example, a stateful protocol could be used to keep track of a user’s shopping cart in an online store.
A bidirectional protocol is one that allows for communication in both directions. This means that the client can send messages to the server, and the server can send messages to the client. This is in contrast to a unidirectional protocol, which only allows for communication in one direction.
A connection-oriented protocol is one that establishes a dedicated connection between the
75.5c-23.5 6.3-42 24.9-48.3 48.6-11.4 42.9-11.4 132.3-11.4 132.3s0 89.4 11.4 132.3c6.3 23.7 24.8 41.5 48.3 47.8C117.2 448 288 448 288 448s170.8 0 213.4-11.5c23.5-6.3 42-24.2 48.3-47.8 11.4-42.9 11.4-132.3 11.4-132.3s0-89.4-11.4-132.3zm-317.5 213.5V175.2l142.7 81.2-142.7 81.2z"/> Subscribe on YouTube