Class: BridgeEvent

vertx-web-js/bridge_event~ BridgeEvent

new BridgeEvent()

Represents an event that occurs on the event bus bridge.

Please consult the documentation for a full explanation.

Source:

Methods

rawMessage() → {Object}

Get the raw JSON message for the event. This will be null for SOCKET_CREATED or SOCKET_CLOSED events as there is no message involved.
Source:
Returns:
the raw JSON message for the event
Type
Object

socket() → {SockJSSocket}

Get the SockJSSocket instance corresponding to the event
Source:
Returns:
the SockJSSocket instance
Type
SockJSSocket

type() → {Object}

Source:
Returns:
  • the type of the event
  • Type
    Object