Question 2: A share trading website is to be developed displaying current (constantly changing) prices of shares. .) Des
Posted: Wed Apr 27, 2022 3:29 pm
Question 2: A share trading website is to be developed displaying current (constantly changing) prices of shares. .) Describe WebSockets and why it would be appropriate for such a system. [6 marks) Answer here please b) Describe the client-side methods for communicating with a WebSocket endpoint. [8 marks] Answer here please: Draw a diagram to show the page design and include how the data will be passed between the HTML page and a WebSocket endpoint. [5 marks] Answer here please: Write the client-side HTML and JavaScript code that would be required to implement the above design. Assume the existence of a WebSocket endpoint to retrieve the updated prices. [11 marks) Answer here please: