WebSocket

@native @JSGlobal @JSType
object WebSocket extends Object
Companion:
class
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from:
Object
def isPrototypeOf(v: Object): Boolean
Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from:
Object
def toLocaleString(): String
Inherited from:
Object
def valueOf(): Any
Inherited from:
Object

Concrete fields

val CLOSED: Int

The connection is closed or couldn't be opened.

The connection is closed or couldn't be opened.

val CLOSING: Int

The connection is in the process of closing.

The connection is in the process of closing.

val CONNECTING: Int
val OPEN: Int

The connection is open and ready to communicate.

The connection is open and ready to communicate.