COSClient class

Constructors

COSClient(COSConfig _config)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deleteObject(String objectKey) → dynamic
filterHeaders(Map<String, String?> src) → dynamic
inherited
getListAndParameters(Map<String, String?> params) List<String>
处理请求头和参数列表
inherited
getRequest(String method, String action, {Map<String, String?> params = const {}, Map<String, String?> headers = const {}, String? token}) Future<HttpClientRequest>
inherited
getResponse(String method, String action, {Map<String, String?> params = const {}, Map<String, String?> headers = const {}}) Future<HttpClientResponse>
inherited
getSign(String method, String key, {Map<String, String?> headers = const {}, Map<String, String?> params = const {}, DateTime? signTime}) String
生成签名
inherited
hmacSha1(String msg, String key) String
使用HMAC-SHA1计算摘要
inherited
listObject({String prefix = ""}) Future<ListBucketResult>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
putObject(String objectKey, String filePath, {String? token, String? contentType = "image/jpeg"}) Future<String?>
putObjectWithFileData(String objectKey, List<int> fileData, {String? token, String? contentType = "image/jpeg"}) Future<String?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited