Examveda
Examveda

Which method is used to close the WebSocket?

A. Socket.flush()

B. Socket.close()

C. Socket.Close()

D. Socket.dispose()

Answer: Option B

Solution(By Examveda Team)

The Socket.close() is used to close the WebSocket.

This Question Belongs to Javascript >> Sockets

Join The Discussion

Related Questions on Sockets