Which of the following is not a WebSocket event?
(a) open
(b) close
(c) error
(d) deny
(a) open
(b) close
(c) error
(d) deny
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Correct choice is (d) deny
Explanation: There is no WebSocket event named deny. The four WebSocket events are
open
close
message
error
Listen to these events using addEventListener() or by assigning an event listener to the oneventname property of this interface.