Method | Description | |
---|---|---|
FormUploader ( ) : System | ||
uploadData ( byte data, int offset, int count, string key, string token, Qiniu.Storage.UploadOptions uploadOptions, UpCompletionHandler upCompletionHandler ) : void | ||
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 |
以表单方式上传数据流
|
Method | Description | |
---|---|---|
upload ( |
public uploadData ( byte data, int offset, int count, string key, string token, Qiniu.Storage.UploadOptions uploadOptions, UpCompletionHandler upCompletionHandler ) : void | ||
data | byte | |
offset | int | |
count | int | |
key | string | |
token | string | |
uploadOptions | Qiniu.Storage.UploadOptions | |
upCompletionHandler | UpCompletionHandler | |
return | void |
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 | 上传完成结果处理器 |
return | 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 | 上传完成结果处理器 |
return | 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 | 上传完成结果处理器 |
return | void |