Opera Presto offers support for the W3C WebSocket API as defined in the following data table.
Important notes:
Constructor | Attributes | Methods | Comment | Support |
---|---|---|---|---|
WebSocket()
|
|
|
This interface enables web applications to maintain bidirectional communications with server-side processes.
|
Partial |
Constructor | Attributes | Methods | Comment | Support |
---|---|---|---|---|
CloseEvent
|
wasClean
|
initCloseEvent()
|
When the WebSocket connection is closed, possibly cleanly, the user agent must create an event that uses the CloseEvent
interface, with the event name close , which does not bubble, is not cancelable, has no default action, and
whose wasClean attribute is set to true if the connection closed cleanly, and false
if otherwise.
|
Yes |
Event handler | Event type | Support |
---|---|---|
onopen
|
open
|
Yes |
onmessage
|
message
|
Yes |
onerror
|
error
|
Yes |
onclose
|
close
|
Yes |
Need help? Hit F1 anytime while using Opera to access our online help files, or go here.