Doc upload and download functions
This commit is contained in:
parent
9354447d6d
commit
e26599e214
|
@ -190,8 +190,8 @@ StorageService.prototype.removeFile = function (container, file, cb) {
|
|||
return this.client.removeFile(container, file, cb);
|
||||
};
|
||||
|
||||
/*!
|
||||
* Upload middleware for the HTTP request/response
|
||||
/**
|
||||
* Upload middleware for the HTTP request/response <!-- Should this be documented? -->
|
||||
* @param {Request} req Request object
|
||||
* @param {Response} res Response object
|
||||
* @param {Function} cb Callback function
|
||||
|
@ -200,8 +200,8 @@ StorageService.prototype.upload = function (req, res, cb) {
|
|||
return handler.upload(this.client, req, res, req.params.container, cb);
|
||||
};
|
||||
|
||||
/*!
|
||||
* Download middleware
|
||||
/**
|
||||
* Download middleware <!-- Should this be documented? -->
|
||||
* @param {String} container Container name
|
||||
* @param {String} file File name
|
||||
* @param {Response} res HTTP response
|
||||
|
|
Loading…
Reference in New Issue