Méthode | Description | |
---|---|---|
UploadManager ( ) : System |
默认上传管理器
|
|
UploadManager ( |
以指定的分片上传进度记录器和分片上传记录文件名构建上传管理器 可以指定这两个参数来使分片上传支持断点续传功能
|
|
uploadData ( byte data, string key, string token, Qiniu.Storage.UploadOptions uploadOptions, UpCompletionHandler upCompletionHandler ) : void | ||
uploadFile ( string filePath, string key, string token, Qiniu.Storage.UploadOptions uploadOptions, UpCompletionHandler upCompletionHandler ) : void | ||
uploadStream ( Stream stream, string key, string token, Qiniu.Storage.UploadOptions uploadOptions, UpCompletionHandler upCompletionHandler ) : void |
Méthode | Description | |
---|---|---|
DefaultUpCompletionHandler ( string key, Qiniu.Http.ResponseInfo respInfo, string respJson ) : void |
public UploadManager ( |
||
recorder | 分片上传进度记录器 | |
generator | KeyGenerator | 分片上传进度记录文件名 |
Résultat | System |
public uploadData ( byte data, string key, string token, Qiniu.Storage.UploadOptions uploadOptions, UpCompletionHandler upCompletionHandler ) : void | ||
data | byte | |
key | string | |
token | string | |
uploadOptions | Qiniu.Storage.UploadOptions | |
upCompletionHandler | UpCompletionHandler | |
Résultat | void |
public uploadFile ( string filePath, string key, string token, Qiniu.Storage.UploadOptions uploadOptions, UpCompletionHandler upCompletionHandler ) : void | ||
filePath | string | |
key | string | |
token | string | |
uploadOptions | Qiniu.Storage.UploadOptions | |
upCompletionHandler | UpCompletionHandler | |
Résultat | void |
public uploadStream ( Stream stream, string key, string token, Qiniu.Storage.UploadOptions uploadOptions, UpCompletionHandler upCompletionHandler ) : void | ||
stream | Stream | |
key | string | |
token | string | |
uploadOptions | Qiniu.Storage.UploadOptions | |
upCompletionHandler | UpCompletionHandler | |
Résultat | void |