node-ldapjs/lib/messages/add_response.js

23 lines
463 B
JavaScript
Raw Normal View History

2011-08-04 20:32:01 +00:00
// Copyright 2011 Mark Cavage, Inc. All rights reserved.
var assert = require('assert-plus')
var util = require('util')
2011-08-04 20:32:01 +00:00
var LDAPResult = require('./result')
var Protocol = require('../protocol')
2011-08-04 20:32:01 +00:00
/// --- API
2011-08-04 20:32:01 +00:00
function AddResponse (options) {
options = options || {}
assert.object(options)
2011-08-04 20:32:01 +00:00
options.protocolOp = Protocol.LDAP_REP_ADD
LDAPResult.call(this, options)
2011-08-04 20:32:01 +00:00
}
util.inherits(AddResponse, LDAPResult)
/// --- Exports
module.exports = AddResponse