lib/messages/modify_request.js
function ModifyRequest(options) {
  options = options || {};
  assert.object(options);
  lassert.optionalStringDN(options.object);
  lassert.optionalArrayOfAttribute(options.attributes);

  options.protocolOp = Protocol.LDAP_REQ_MODIFY;
  LDAPMessage.call(this, options);

  this.object = options.object || null;
  this.changes = options.changes ? options.changes.slice(0) : [];
}
function ModifyRequest(options) {
  options = options || {};
  assert.object(options);
  lassert.optionalStringDN(options.object);
  lassert.optionalArrayOfAttribute(options.attributes);

  options.protocolOp = Protocol.LDAP_REQ_MODIFY;
  LDAPMessage.call(this, options);

  this.object = options.object || null;
  this.changes = options.changes ? options.changes.slice(0) : [];
}
/--- API