jsdav-ext
Version:
jsDAV allows you to easily add WebDAV support to a NodeJS application. jsDAV is meant to cover the entire standard, and attempts to allow integration using an easy to understand API.
30 lines (27 loc) • 891 B
JavaScript
/*
* @package jsDAV
* @subpackage DAV
* @copyright Copyright(c) 2011 Ajax.org B.V. <info AT ajax DOT org>
* @author Mike de Boer <info AT mikedeboer DOT nl>
* @license http://github.com/mikedeboer/jsDAV/blob/master/LICENSE MIT License
*/
;
var Base = require("./../../shared/base");
var Exc = require("./../../shared/exceptions");
/**
* The iExtendedCollection interface.
*
* This interface can be used to create special-type of collection-resources
* as defined by RFC 5689.
*/
var jsDAV_iExtendedCollection = module.exports = Base.extend({
/**
* Creates a new collection
*
* @param {String} name
* @param {Array} resourceType
* @param {Array} properties
* @return void
*/
createExtendedCollection: function(name, resourceType, properties, callback) { callback(Exc.notImplementedYet()); }
});