code: function PushWrapper() {
      // Autobahn|JS connection object for push API (utilizes the WAMP protocol)
      this._connection = new autobahn.Connection({
          "url": POLONIEX_PUSH_URL,
          "realm": POLONIEX_PUSH_REALM
      });
  
      // Internally-routed callback sets for connection management events
      this._cxnCallbacksOpen = new Array();
      this._cxnCallbacksClose = new Array();
  
      // Internal lookup table for linking subscriptions to callbacks
      this._subLinks = {};
      this._subLinksId = 0;
  
      // Number of currently active subscriptions
      this._activeSubs = 0;
  
      // Handle connection open event
      this._connection.onopen = (session) => {
          // Loop through all open callbacks
          for (let i = 0; i < this._cxnCallbacksOpen.length; i++) {
              this._cxnCallbacksOpen[i](session);
          }
      };
  
      // Handle connection close event
      this._connection.onclose = (reason, details) => {
          // Loop through all close callbacks
          for (let i = 0; i < this._cxnCallbacksClose.length; i++) {
              this._cxnCallbacksClose[i](reason, details);
          }
      };
  }
docs: /*
  Push API wrapper constructor.