Available on js
staticinlineread onlyCONNECTING:Int = 0
EventHandler called when a
message event is received, that is when a message is coming from the source.
EventHandler called when an
open event is received, that is when the connection was just opened.
A number representing the state of the connection. Possible values are
DOMString representing the URL of the source.
Closes the connection, if any, and sets the
readyState attribute to
CLOSED. If the connection is already closed, the method does nothing.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.