Which of the following is not associated with web socket communication?

Which of the following is not associated with web socket communication?
A. https
B. wss
C. ws
D. http
 
Answer: d
Explanation: For opening WebSocket we call WebSocket constructor. The syntax is
Code:
var conn=new WebSocket(‘ws://rtyyghj.websocket.org/echo’,[‘brush’, ‘xmpp’]);
for using secure HTTP connections use https: ,ws: is the new URL scheme for connecting WebSockets. There is wss: also.
 

Tìm kiếm

Back
Top