Which statement is true about the relationship between HTTP and WebSockets?
A. A WebSocket connection is a bi-directional HTTP session with message-handling support.
B. A WebSocket connection is initialized with an HTTP handshake.
C. A WebSocket connection can be initialized by either client or server.
D. A WebSocket connection uses HTTP protocol to exchange data with the browser.
Correct answer is B
Explanation -> https://docs.oracle.com/javaee/7/tutorial/websocket001.htm