dist/client/lance-gg.js
/**
     * Adds event listeners to the socket
     *
     * @api private
     */
Adds event listeners to the socket
@api private
Adds event listeners to the socket @api private
addEventListeners() {
      const self = this;
      this.ws.onopen = function() {
        self.onOpen();
      };
      this.ws.onclose = function() {
        self.onClose();
      };
      this.ws.onmessage = function(ev) {
        self.onData(ev.data);
      };
      this.ws.onerror = function(e) {
        self.onError("websocket error", e);
      };
    }
addEventListeners ( ) { const self = this ; this . ws . onopen = function ( ) { self . onOpen ( ) ; } ; this . ws . onclose = function ( ) { self . onClose ( ) ; } ; this . ws . onmessage = function ( ev ) { self . onData ( ev . data ) ; } ; this . ws . onerror = function ( e ) { self . onError ( "websocket error" , e ) ; } ; }
Adds event listeners to the socket
 @api private
Adds event listeners to the socket @api private