You are developing an ASP.NET MVC
application that provides instant messaging capabilities to customers.
You have the following requirements:
Messages must be able to be sent and received simultaneously.
Latency and unnecessary header data must be eliminated.
The application must comply w
ith HTML5 standards.
You need to design the application to meet the requirements.
What should you do?
A. Configure polling from the browser.
B. Implement long-running HTTP requests.
C. Implement WebSockets protocol on the client and the server.
D.
Instantiate a MessageChannel object on the client.
Correct answer is C.
Communication not across multiple origins, but between application and customers.
More info: https://www.tutorialspoint.com/Difference-between-MessageChannel-and-WebSockets-in-HTML5
7
0
yes you have right? why d?
2
0