COSFetch class
Constructors
- COSFetch()
Properties
-
globalReqHandlers
↔ List<
Future< void> Function(COSFetchContext fetchContext)> -
全局请求处理函数,在所有请求处理函数之前调用
getter/setter pair
-
globalResHandlers
↔ List<
Future Function(COSFetchContext fetchContext, dynamic data)> -
全局响应处理函数,在所有响应处理函数之前调用
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reqAddingHeadersHandler(
COSFetchContext fetchContext) → Future< void> - 添加请求头
-
reqAddingSignHandler(
COSFetchContext fetchContext) → Future< void> - 添加请求签名
-
send<
T> (COSFetchConfig fetchConfig, COSConfig config) → Future< T> -
发送请求
fetchConfig
请求相关配置config
COS 相关配置 -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited