Match WebSocket events with their description.
Introduction in websocket
WebSocket events
Report a typo
Match the items from left and right columns
<code>.onclose</code>
<code>.onmessage</code>
<code>.onopen</code>
<code>.onerror</code>
Fires when data is received from the server
Fires when a WebSocket connection is opened
Fires on error
Fires when the WebSocket connection is terminated
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.