Packages

trait WebSocket extends EventEmitter

Annotations
@JSType() @native()
Linear Supertypes
EventEmitter, EventEmitter, StObject, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WebSocket
  2. EventEmitter
  3. EventEmitter
  4. StObject
  5. Object
  6. Any
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val CLOSED: 3

    The connection is closed.

  5. val CLOSING: 2

    The connection is in the process of closing.

  6. val CONNECTING: 0

    The connection is not yet open.

  7. val OPEN: 1

    The connection is open and ready to communicate.

  8. def addEventListener_close(method: close, cb: Function1[CloseEvent, Unit], options: EventListenerOptions): Unit
    Annotations
    @JSName("addEventListener")
  9. def addEventListener_close(method: close, cb: Function1[CloseEvent, Unit]): Unit
    Annotations
    @JSName("addEventListener")
  10. def addEventListener_error(method: error, cb: Function1[ErrorEvent, Unit], options: EventListenerOptions): Unit
    Annotations
    @JSName("addEventListener")
  11. def addEventListener_error(method: error, cb: Function1[ErrorEvent, Unit]): Unit
    Annotations
    @JSName("addEventListener")
  12. def addEventListener_message(method: message, cb: Function1[MessageEvent, Unit], options: EventListenerOptions): Unit
    Annotations
    @JSName("addEventListener")
  13. def addEventListener_message(method: message, cb: Function1[MessageEvent, Unit]): Unit
    Annotations
    @JSName("addEventListener")
  14. def addEventListener_open(method: open, cb: Function1[Event, Unit], options: EventListenerOptions): Unit
    Annotations
    @JSName("addEventListener")
  15. def addEventListener_open(method: open, cb: Function1[Event, Unit]): Unit
    Annotations
    @JSName("addEventListener")
  16. def addListener(event: |[ping, pong], listener: Function1[Buffer, Unit]): WebSocket.this.type
  17. def addListener(eventName: Symbol, listener: Function1[Any, Unit]): WebSocket.this.type
    Definition Classes
    EventEmitter
  18. def addListener(eventName: String, listener: Function1[Any, Unit]): WebSocket.this.type

    Alias for emitter.on(eventName, listener).

    Alias for emitter.on(eventName, listener).

    Definition Classes
    EventEmitter
    Since

    v0.1.26

  19. def addListener_close(event: close, listener: Function2[Double, Buffer, Unit]): WebSocket.this.type
    Annotations
    @JSName("addListener")
  20. def addListener_error(event: error, listener: Function1[Error, Unit]): WebSocket.this.type
    Annotations
    @JSName("addListener")
  21. def addListener_message(event: message, listener: Function2[RawData, Boolean, Unit]): WebSocket.this.type
    Annotations
    @JSName("addListener")
  22. def addListener_open(event: open, listener: Function0[Unit]): WebSocket.this.type
    Annotations
    @JSName("addListener")
  23. def addListener_unexpectedresponse(event: unexpected-response, listener: Function2[ClientRequest, IncomingMessage, Unit]): WebSocket.this.type
    Annotations
    @JSName("addListener")
  24. def addListener_upgrade(event: upgrade, listener: Function1[IncomingMessage, Unit]): WebSocket.this.type
    Annotations
    @JSName("addListener")
  25. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  26. val binaryType: |[|[nodebuffer, arraybuffer], fragments]
  27. val bufferedAmount: Double
  28. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  29. def close(code: Unit, data: String): Unit
  30. def close(code: Unit, data: Buffer): Unit
  31. def close(code: Double, data: String): Unit
  32. def close(code: Double, data: Buffer): Unit
  33. def close(code: Double): Unit
  34. def close(): Unit
  35. def emit(eventName: Symbol, args: Any*): Boolean
    Definition Classes
    EventEmitter
  36. def emit(eventName: String, args: Any*): Boolean

    Synchronously calls each of the listeners registered for the event namedeventName, in the order they were registered, passing the supplied arguments to each.

    Synchronously calls each of the listeners registered for the event namedeventName, in the order they were registered, passing the supplied arguments to each.

    Returns true if the event had listeners, false otherwise.

    js const EventEmitter = require('events'); const myEmitter = new EventEmitter();

    // First listener myEmitter.on('event', function firstListener() { console.log('Helloooo! first listener'); }); // Second listener myEmitter.on('event', function secondListener(arg1, arg2) { console.log(event with parameters ${arg1}, ${arg2} in second listener); }); // Third listener myEmitter.on('event', function thirdListener(...args) { const parameters = args.join(', '); console.log(event with parameters ${parameters} in third listener); });

    console.log(myEmitter.listeners('event'));

    myEmitter.emit('event', 1, 2, 3, 4, 5);

    // Prints: // [ // [Function: firstListener], // [Function: secondListener], // [Function: thirdListener] // ] // Helloooo! first listener // event with parameters 1, 2 in second listener // event with parameters 1, 2, 3, 4, 5 in third listener

    Definition Classes
    EventEmitter
    Since

    v0.1.26

  37. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  39. def eventNames(): Array[|[String, Symbol]]

    Returns an array listing the events for which the emitter has registered listeners.

    Returns an array listing the events for which the emitter has registered listeners. The values in the array are strings or Symbols.

    js const EventEmitter = require('events'); const myEE = new EventEmitter(); myEE.on('foo', () => {}); myEE.on('bar', () => {});

    const sym = Symbol('symbol'); myEE.on(sym, () => {});

    console.log(myEE.eventNames()); // Prints: [ 'foo', 'bar', Symbol(symbol) ]

    Definition Classes
    EventEmitter
    Since

    v6.0.0

  40. val extensions: String
  41. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  42. def getMaxListeners(): Double

    Returns the current max listener value for the EventEmitter which is either set by emitter.setMaxListeners(n) or defaults to defaultMaxListeners.

    Returns the current max listener value for the EventEmitter which is either set by emitter.setMaxListeners(n) or defaults to defaultMaxListeners.

    Definition Classes
    EventEmitter
    Since

    v1.0.0

  43. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  44. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  45. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  46. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  47. def listenerCount(eventName: Symbol): Double
    Definition Classes
    EventEmitter
  48. def listenerCount(eventName: String): Double

    Returns the number of listeners listening to the event named eventName.

    Returns the number of listeners listening to the event named eventName.

    eventName

    The name of the event being listened for

    Definition Classes
    EventEmitter
    Since

    v3.2.0

  49. def listeners(eventName: Symbol): Array[Function]
    Definition Classes
    EventEmitter
  50. def listeners(eventName: String): Array[Function]

    Returns a copy of the array of listeners for the event named eventName.

    Returns a copy of the array of listeners for the event named eventName.

    js server.on('connection', (stream) => { console.log('someone connected!'); }); console.log(util.inspect(server.listeners('connection'))); // Prints: [ [Function] ]

    Definition Classes
    EventEmitter
    Since

    v0.1.26

  51. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  52. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  53. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  54. def off(event: Symbol, listener: ThisFunction1[WebSocket.this.type, Any, Unit]): WebSocket.this.type
  55. def off(event: String, listener: ThisFunction1[WebSocket.this.type, Any, Unit]): WebSocket.this.type
  56. def off(event: |[ping, pong], listener: ThisFunction1[WebSocket.this.type, Buffer, Unit]): WebSocket.this.type
  57. def off(eventName: Symbol, listener: Function1[Any, Unit]): WebSocket.this.type
    Definition Classes
    EventEmitter
  58. def off(eventName: String, listener: Function1[Any, Unit]): WebSocket.this.type

    Alias for emitter.removeListener().

    Alias for emitter.removeListener().

    Definition Classes
    EventEmitter
    Since

    v10.0.0

  59. def off_close(event: close, listener: ThisFunction2[WebSocket.this.type, Double, Buffer, Unit]): WebSocket.this.type
    Annotations
    @JSName("off")
  60. def off_error(event: error, listener: ThisFunction1[WebSocket.this.type, Error, Unit]): WebSocket.this.type
    Annotations
    @JSName("off")
  61. def off_message(event: message, listener: ThisFunction2[WebSocket.this.type, RawData, Boolean, Unit]): WebSocket.this.type
    Annotations
    @JSName("off")
  62. def off_open(event: open, listener: ThisFunction0[WebSocket.this.type, Unit]): WebSocket.this.type
    Annotations
    @JSName("off")
  63. def off_unexpectedresponse(event: unexpected-response, listener: ThisFunction2[WebSocket.this.type, ClientRequest, IncomingMessage, Unit]): WebSocket.this.type
    Annotations
    @JSName("off")
  64. def off_upgrade(event: upgrade, listener: ThisFunction1[WebSocket.this.type, IncomingMessage, Unit]): WebSocket.this.type
    Annotations
    @JSName("off")
  65. def on(event: Symbol, listener: ThisFunction1[WebSocket.this.type, Any, Unit]): WebSocket.this.type
  66. def on(event: String, listener: ThisFunction1[WebSocket.this.type, Any, Unit]): WebSocket.this.type
  67. def on(event: |[ping, pong], listener: ThisFunction1[WebSocket.this.type, Buffer, Unit]): WebSocket.this.type
  68. def on(eventName: Symbol, listener: Function1[Any, Unit]): WebSocket.this.type
    Definition Classes
    EventEmitter
  69. def on(eventName: String, listener: Function1[Any, Unit]): WebSocket.this.type

    Adds the listener function to the end of the listeners array for the event named eventName.

    Adds the listener function to the end of the listeners array for the event named eventName. No checks are made to see if the listener has already been added. Multiple calls passing the same combination of eventNameand listener will result in the listener being added, and called, multiple times.

    js server.on('connection', (stream) => { console.log('someone connected!'); });

    Returns a reference to the EventEmitter, so that calls can be chained.

    By default, event listeners are invoked in the order they are added. Theemitter.prependListener() method can be used as an alternative to add the event listener to the beginning of the listeners array.

    js const myEE = new EventEmitter(); myEE.on('foo', () => console.log('a')); myEE.prependListener('foo', () => console.log('b')); myEE.emit('foo'); // Prints: // b // a

    eventName

    The name of the event.

    listener

    The callback function

    Definition Classes
    EventEmitter
    Since

    v0.1.101

  70. def on_close(event: close, listener: ThisFunction2[WebSocket.this.type, Double, Buffer, Unit]): WebSocket.this.type
    Annotations
    @JSName("on")
  71. def on_error(event: error, listener: ThisFunction1[WebSocket.this.type, Error, Unit]): WebSocket.this.type
    Annotations
    @JSName("on")
  72. def on_message(event: message, listener: ThisFunction2[WebSocket.this.type, RawData, Boolean, Unit]): WebSocket.this.type
    Annotations
    @JSName("on")
  73. def on_open(event: open, listener: ThisFunction0[WebSocket.this.type, Unit]): WebSocket.this.type
    Annotations
    @JSName("on")
  74. def on_unexpectedresponse(event: unexpected-response, listener: ThisFunction2[WebSocket.this.type, ClientRequest, IncomingMessage, Unit]): WebSocket.this.type
    Annotations
    @JSName("on")
  75. def on_upgrade(event: upgrade, listener: ThisFunction1[WebSocket.this.type, IncomingMessage, Unit]): WebSocket.this.type
    Annotations
    @JSName("on")
  76. def once(event: Symbol, listener: ThisFunction1[WebSocket.this.type, Any, Unit]): WebSocket.this.type
  77. def once(event: String, listener: ThisFunction1[WebSocket.this.type, Any, Unit]): WebSocket.this.type
  78. def once(event: |[ping, pong], listener: ThisFunction1[WebSocket.this.type, Buffer, Unit]): WebSocket.this.type
  79. def once(eventName: Symbol, listener: Function1[Any, Unit]): WebSocket.this.type
    Definition Classes
    EventEmitter
  80. def once(eventName: String, listener: Function1[Any, Unit]): WebSocket.this.type

    Adds a **one-time**listener function for the event named eventName.

    Adds a **one-time**listener function for the event named eventName. The next time eventName is triggered, this listener is removed and then invoked.

    js server.once('connection', (stream) => { console.log('Ah, we have our first user!'); });

    Returns a reference to the EventEmitter, so that calls can be chained.

    By default, event listeners are invoked in the order they are added. Theemitter.prependOnceListener() method can be used as an alternative to add the event listener to the beginning of the listeners array.

    js const myEE = new EventEmitter(); myEE.once('foo', () => console.log('a')); myEE.prependOnceListener('foo', () => console.log('b')); myEE.emit('foo'); // Prints: // b // a

    eventName

    The name of the event.

    listener

    The callback function

    Definition Classes
    EventEmitter
    Since

    v0.3.0

  81. def once_close(event: close, listener: ThisFunction2[WebSocket.this.type, Double, Buffer, Unit]): WebSocket.this.type
    Annotations
    @JSName("once")
  82. def once_error(event: error, listener: ThisFunction1[WebSocket.this.type, Error, Unit]): WebSocket.this.type
    Annotations
    @JSName("once")
  83. def once_message(event: message, listener: ThisFunction2[WebSocket.this.type, RawData, Boolean, Unit]): WebSocket.this.type
    Annotations
    @JSName("once")
  84. def once_open(event: open, listener: ThisFunction0[WebSocket.this.type, Unit]): WebSocket.this.type
    Annotations
    @JSName("once")
  85. def once_unexpectedresponse(event: unexpected-response, listener: ThisFunction2[WebSocket.this.type, ClientRequest, IncomingMessage, Unit]): WebSocket.this.type
    Annotations
    @JSName("once")
  86. def once_upgrade(event: upgrade, listener: ThisFunction1[WebSocket.this.type, IncomingMessage, Unit]): WebSocket.this.type
    Annotations
    @JSName("once")
  87. def onclose(event: CloseEvent): Unit
  88. def onerror(event: ErrorEvent): Unit
  89. def onmessage(event: MessageEvent): Unit
  90. def onopen(event: Event): Unit
  91. def ping(data: Unit, mask: Unit, cb: Function1[Error, Unit]): Unit
  92. def ping(data: Unit, mask: Boolean, cb: Function1[Error, Unit]): Unit
  93. def ping(data: Unit, mask: Boolean): Unit
  94. def ping(data: Any, mask: Unit, cb: Function1[Error, Unit]): Unit
  95. def ping(data: Any, mask: Boolean, cb: Function1[Error, Unit]): Unit
  96. def ping(data: Any, mask: Boolean): Unit
  97. def ping(data: Any): Unit
  98. def ping(): Unit
  99. def pong(data: Unit, mask: Unit, cb: Function1[Error, Unit]): Unit
  100. def pong(data: Unit, mask: Boolean, cb: Function1[Error, Unit]): Unit
  101. def pong(data: Unit, mask: Boolean): Unit
  102. def pong(data: Any, mask: Unit, cb: Function1[Error, Unit]): Unit
  103. def pong(data: Any, mask: Boolean, cb: Function1[Error, Unit]): Unit
  104. def pong(data: Any, mask: Boolean): Unit
  105. def pong(data: Any): Unit
  106. def pong(): Unit
  107. def prependListener(eventName: Symbol, listener: Function1[Any, Unit]): WebSocket.this.type
    Definition Classes
    EventEmitter
  108. def prependListener(eventName: String, listener: Function1[Any, Unit]): WebSocket.this.type

    Adds the listener function to the _beginning_ of the listeners array for the event named eventName.

    Adds the listener function to the _beginning_ of the listeners array for the event named eventName. No checks are made to see if the listener has already been added. Multiple calls passing the same combination of eventNameand listener will result in the listener being added, and called, multiple times.

    js server.prependListener('connection', (stream) => { console.log('someone connected!'); });

    Returns a reference to the EventEmitter, so that calls can be chained.

    eventName

    The name of the event.

    listener

    The callback function

    Definition Classes
    EventEmitter
    Since

    v6.0.0

  109. def prependOnceListener(eventName: Symbol, listener: Function1[Any, Unit]): WebSocket.this.type
    Definition Classes
    EventEmitter
  110. def prependOnceListener(eventName: String, listener: Function1[Any, Unit]): WebSocket.this.type

    Adds a **one-time**listener function for the event named eventName to the_beginning_ of the listeners array.

    Adds a **one-time**listener function for the event named eventName to the_beginning_ of the listeners array. The next time eventName is triggered, this listener is removed, and then invoked.

    js server.prependOnceListener('connection', (stream) => { console.log('Ah, we have our first user!'); });

    Returns a reference to the EventEmitter, so that calls can be chained.

    eventName

    The name of the event.

    listener

    The callback function

    Definition Classes
    EventEmitter
    Since

    v6.0.0

  111. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  112. val protocol: String
  113. def rawListeners(eventName: Symbol): Array[Function]
    Definition Classes
    EventEmitter
  114. def rawListeners(eventName: String): Array[Function]

    Returns a copy of the array of listeners for the event named eventName, including any wrappers (such as those created by .once()).

    Returns a copy of the array of listeners for the event named eventName, including any wrappers (such as those created by .once()).

    js const emitter = new EventEmitter(); emitter.once('log', () => console.log('log once'));

    // Returns a new Array with a function onceWrapper which has a property // listener which contains the original listener bound above const listeners = emitter.rawListeners('log'); const logFnWrapper = listeners[0];

    // Logs "log once" to the console and does not unbind the once event logFnWrapper.listener();

    // Logs "log once" to the console and removes the listener logFnWrapper();

    emitter.on('log', () => console.log('log persistently')); // Will return a new Array with a single function bound by .on() above const newListeners = emitter.rawListeners('log');

    // Logs "log persistently" twice newListeners[0](); emitter.emit('log');

    Definition Classes
    EventEmitter
    Since

    v9.4.0

  115. val readyState: Double

    The current state of the connection

  116. def removeAllListeners(event: Symbol): WebSocket.this.type
    Definition Classes
    EventEmitter
  117. def removeAllListeners(event: String): WebSocket.this.type
    Definition Classes
    EventEmitter
  118. def removeAllListeners(): WebSocket.this.type

    Removes all listeners, or those of the specified eventName.

    Removes all listeners, or those of the specified eventName.

    It is bad practice to remove listeners added elsewhere in the code, particularly when the EventEmitter instance was created by some other component or module (e.g. sockets or file streams).

    Returns a reference to the EventEmitter, so that calls can be chained.

    Definition Classes
    EventEmitter
    Since

    v0.1.26

  119. def removeEventListener_close(method: close, cb: Function1[CloseEvent, Unit]): Unit
    Annotations
    @JSName("removeEventListener")
  120. def removeEventListener_error(method: error, cb: Function1[ErrorEvent, Unit]): Unit
    Annotations
    @JSName("removeEventListener")
  121. def removeEventListener_message(method: message, cb: Function1[MessageEvent, Unit]): Unit
    Annotations
    @JSName("removeEventListener")
  122. def removeEventListener_open(method: open, cb: Function1[Event, Unit]): Unit
    Annotations
    @JSName("removeEventListener")
  123. def removeListener(event: |[ping, pong], listener: Function1[Buffer, Unit]): WebSocket.this.type
  124. def removeListener(eventName: Symbol, listener: Function1[Any, Unit]): WebSocket.this.type
    Definition Classes
    EventEmitter
  125. def removeListener(eventName: String, listener: Function1[Any, Unit]): WebSocket.this.type

    Removes the specified listener from the listener array for the event namedeventName.

    Removes the specified listener from the listener array for the event namedeventName.

    js const callback = (stream) => { console.log('someone connected!'); }; server.on('connection', callback); // ... server.removeListener('connection', callback);

    removeListener() will remove, at most, one instance of a listener from the listener array. If any single listener has been added multiple times to the listener array for the specified eventName, then removeListener() must be called multiple times to remove each instance.

    Once an event is emitted, all listeners attached to it at the time of emitting are called in order. This implies that anyremoveListener() or removeAllListeners() calls _after_ emitting and_before_ the last listener finishes execution will not remove them fromemit() in progress. Subsequent events behave as expected.

    js const myEmitter = new MyEmitter();

    const callbackA = () => { console.log('A'); myEmitter.removeListener('event', callbackB); };

    const callbackB = () => { console.log('B'); };

    myEmitter.on('event', callbackA);

    myEmitter.on('event', callbackB);

    // callbackA removes listener callbackB but it will still be called. // Internal listener array at time of emit [callbackA, callbackB] myEmitter.emit('event'); // Prints: // A // B

    // callbackB is now removed. // Internal listener array [callbackA] myEmitter.emit('event'); // Prints: // A

    Because listeners are managed using an internal array, calling this will change the position indices of any listener registered _after_ the listener being removed. This will not impact the order in which listeners are called, but it means that any copies of the listener array as returned by the emitter.listeners() method will need to be recreated.

    When a single function has been added as a handler multiple times for a single event (as in the example below), removeListener() will remove the most recently added instance. In the example the once('ping')listener is removed:

    js const ee = new EventEmitter();

    function pong() { console.log('pong'); }

    ee.on('ping', pong); ee.once('ping', pong); ee.removeListener('ping', pong);

    ee.emit('ping'); ee.emit('ping');

    Returns a reference to the EventEmitter, so that calls can be chained.

    Definition Classes
    EventEmitter
    Since

    v0.1.26

  126. def removeListener_close(event: close, listener: Function2[Double, Buffer, Unit]): WebSocket.this.type
    Annotations
    @JSName("removeListener")
  127. def removeListener_error(event: error, listener: Function1[Error, Unit]): WebSocket.this.type
    Annotations
    @JSName("removeListener")
  128. def removeListener_message(event: message, listener: Function2[RawData, Boolean, Unit]): WebSocket.this.type
    Annotations
    @JSName("removeListener")
  129. def removeListener_open(event: open, listener: Function0[Unit]): WebSocket.this.type
    Annotations
    @JSName("removeListener")
  130. def removeListener_unexpectedresponse(event: unexpected-response, listener: Function2[ClientRequest, IncomingMessage, Unit]): WebSocket.this.type
    Annotations
    @JSName("removeListener")
  131. def removeListener_upgrade(event: upgrade, listener: Function1[IncomingMessage, Unit]): WebSocket.this.type
    Annotations
    @JSName("removeListener")
  132. def send(data: Any, options: Binary, cb: Function1[UndefOr[Error], Unit]): Unit
  133. def send(data: Any, options: Binary): Unit
  134. def send(data: Any, cb: Function1[UndefOr[Error], Unit]): Unit
  135. def send(data: Any): Unit
  136. def setMaxListeners(n: Double): WebSocket.this.type

    By default EventEmitters will print a warning if more than 10 listeners are added for a particular event.

    By default EventEmitters will print a warning if more than 10 listeners are added for a particular event. This is a useful default that helps finding memory leaks. The emitter.setMaxListeners() method allows the limit to be modified for this specific EventEmitter instance. The value can be set toInfinity (or 0) to indicate an unlimited number of listeners.

    Returns a reference to the EventEmitter, so that calls can be chained.

    Definition Classes
    EventEmitter
    Since

    v0.3.5

  137. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  138. def terminate(): Unit
  139. def toLocaleString(): String
    Definition Classes
    Object
  140. def toString(): String
    Definition Classes
    AnyRef → Any
  141. val url: String
  142. def valueOf(): Any
    Definition Classes
    Object
  143. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  144. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  145. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from EventEmitter

Inherited from EventEmitter

Inherited from StObject

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped