Examveda

How can we check the subprotocol being used by the client?

A. subprotocol property

B. protocol property

C. clientprotocol property

D. none of the mentioned

Answer: Option B

Solution (By Examveda Team)

Once the connection is established, the client can determine which subprotocol is in use by checking the protocol property of the socket.

This Question Belongs to Javascript >> Sockets

Join The Discussion

Related Questions on Sockets