code: function Bridge (ip, port, token, options) {
    if (!(this instanceof Bridge)) {
      return new Bridge(ip, port, token);
    }
  
    this.ip = ip;
    this.port = parseInt(port, 10);
    this.token = token;
    this.delayBetweenRequests = options && options.delayBetweenRequests || 250;
    this.delayer = Promise.resolve();
  
    if (!this.ip || !this.port || !this.token || this.port < 1 || this.port > 65536) {
      throw new Error('Please check the arguments!');
    }
  }
docs: The constructor for a connection to a bridge.
  
  @class Bridge
  @param {String}    ip                                the ip of the bridge
  @param {String}    port                              the port of the bridge
  @param {String}    token                             the token of the bridge
  @param {Object}    [options]                         additional options
  @param {Number}    [options.delayBetweenRequests]    delay in ms between requests made to the bridge (default=250)
  @returns {Bridge}
  @constructor