mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-1320: Provide chunked file upload mechanism - update uploadHandler documentation
This commit is contained in:
@@ -393,7 +393,11 @@ angular.module('rest').factory('tunnelService', ['$injector',
|
|||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handler for the upload process.
|
* Handles the recursive upload process. Each time it is called, a
|
||||||
|
* chunk is made with createChunk(), starting at the offset parameter.
|
||||||
|
* The chunk is then sent by uploadChunk(), which recursively calls
|
||||||
|
* this handler until the upload process is either completed and the
|
||||||
|
* promise is resolved, or fails and the promise is rejected.
|
||||||
*
|
*
|
||||||
* @param {Number} offset
|
* @param {Number} offset
|
||||||
* The byte at which to begin the chunk.
|
* The byte at which to begin the chunk.
|
||||||
|
Reference in New Issue
Block a user