# 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:
    - bridge_event.js, line 33

### 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:
    - bridge_event.js, line 64

  ##### Returns:

  the raw JSON message for the event
  Type
    Object

#### socket() → {SockJSSocket}

  Get the SockJSSocket instance corresponding to the event
  Source:
    - bridge_event.js, line 81

  ##### Returns:

  the SockJSSocket instance
  Type
    SockJSSocket

#### type() → {Object}

  Source:
    - bridge_event.js, line 46

  ##### Returns:

  - the type of the event
  - Type
      Object