ClientConfiguration Class |
Namespace: Aliyun.OSS.Common
public class ClientConfiguration : ICloneable
The ClientConfiguration type exposes the following members.
Name | Description | |
---|---|---|
![]() | ClientConfiguration | Initializes a new instance of the ClientConfiguration class |
Name | Description | |
---|---|---|
![]() | Clone |
获取该实例的拷贝。
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode |
用作特定类型的哈希函数。
(Inherited from Object.) |
![]() | GetType |
获取当前实例的 Type。
(Inherited from Object.) |
![]() | MemberwiseClone |
创建当前 Object 的浅表副本。
(Inherited from Object.) |
![]() | SetCustomEpochTicks | 设置自定义基准时间。 由于OSS的token校验是时间相关的,可能会因为终端系统时间不准导致无法访问OSS服务。 通过该接口设置自定义Epoch秒数,SDK计算出本机当前时间与自定义时间的差值,之后的 每次请求时间均加上该差值,以达到时间校验的目的。 |
![]() | ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() ![]() | ConnectionLimit |
HttpWebRequest最大的并发连接数目。
|
Name | Description | |
---|---|---|
![]() | ConnectionTimeout |
获取或设置连接超时时间,单位为毫秒。
|
![]() | IsCname |
获取或设置请求的Endpoint是否是cname
如果是cname,不支持ListBuckets操作
|
![]() | MaxErrorRetry |
获取或设置请求发生错误时最大的重试次数。
|
![]() | Protocol |
获取或设置请求OSS服务时采用的通信协议。
|
![]() | ProxyDomain |
获取或设置代理服务器授权用户所在的域。
|
![]() | ProxyHost |
获取或设置代理服务器的地址。
|
![]() | ProxyPassword |
获取或设置密码。
|
![]() | ProxyPort |
获取或设置代理服务器的端口。
|
![]() | ProxyUserName |
获取或设置用户名。
|
![]() | TickOffset |
获取自定义基准时间与本地时间的时差值,单位为秒。
|
![]() | UserAgent |
获取访问请求的User-Agent。
|