1.

Which of the following is the server library for Node.js?(a) Caddy(b) SignalR(c) ws(d) jsonrpcThis question was posed to me by my college professor while I was bunking the class.Query is from Web Socket Communications in chapter HTML Markup, Forms, Video, Audio & Other Multimedia of HTML

Answer» CORRECT ANSWER is (c) ws

The explanation is: ws is server library and WebSocket client for Node.js. Caddy is USED for proxying arbitrary commands. WebSocket under covers is used by SignalR. To use asynchronous RPC library with the bidirectional CALL we use JSONRPC.server.


Discussion

No Comment Found

Related InterviewSolutions