File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1154,6 +1154,8 @@ declare namespace COS {
11541154 ResponseExpires ?: string ,
11551155 /** 设置响应中的 Expires 头部的值 */
11561156 ResponseContentType ?: string ,
1157+ /** RFC 2616 中定义的字节范围,范围值必须使用 bytes=first-last 格式,first 和 last 都是基于0开始的偏移量。例如 bytes=0-9 表示下载对象的开头10个字节的数据 ,如果不指定,则表示下载整个对象 */
1158+ Range ?: string ,
11571159 /** 当启用版本控制时,指定要下载的版本 ID,如不指定则下载对象的最新版本 */
11581160 VersionId ?: string ,
11591161 /** 下载的进度回调方法 */
@@ -1637,6 +1639,8 @@ Bulk:批量模式,恢复时间为24 - 48小时。 */
16371639 interface SliceUploadFileParams extends ObjectParams {
16381640 /** 要上传的本地文件对象 */
16391641 Body : File | Blob ,
1642+ /** 分块上传时,每片的字节数大小,默认值1048576(1MB) */
1643+ ChunkSize ?: number ,
16401644 /** 请求里的 Url Query 参数 */
16411645 Query ?: string ,
16421646 /** RFC 2616 中定义的缓存指令,将作为对象元数据保存 */
You can’t perform that action at this time.
0 commit comments