connectIO() {
    if (!this.io) {
      this.io = this.api.ws.getSocket(`${this.serverProtocol}://${this.serverHost}:${this.serverPort}`, this.bearer || null);
    }

    return this.io;
  }
/**
   * Connect to the server via socketIO
   * @returns {null}
   */
Connect to the server via socketIO
@returns {null}
Connect to the server via socketIO @returns { null }
connectIO() {
    if (!this.io) {
      this.io = this.api.ws.getSocket(`${this.serverProtocol}://${this.serverHost}:${this.serverPort}`, this.bearer || null);
    }
    return this.io;
  }
connectIO ( ) { if ( ! this . io ) { this . io = this . api . ws . getSocket ( ` ${ this . serverProtocol } ${ this . serverHost } ${ this . serverPort } ` , this . bearer || null ) ; } return this . io ; }
Connect to the server via socketIO
 @returns {null}
Connect to the server via socketIO @returns { null }