Home / Programming MCQs / JavaScript MCQs / Question

M

Mr. Dubey • 51.32K Points
Coach

Q. Which method is used to close the WebSocket?

(A) Socket.flush()
(B) Socket.close()
(C) Socket.Close()
(D) Socket.dispose()
Explanation by: Mr. Dubey
The Socket.close() is used to close the WebSocket.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.