ClientConfiguration Properties |
The ClientConfiguration type exposes the following members.
Name | Description | |
---|---|---|
ConnectionTimeout |
Connection timeout in milliseconds
| |
DirectWriteStreamThreshold |
Gets or sets the direct write stream threshold.
The theshold is the file size threshold that when the uploading file size is more than this value, the HttpWebRequest will not use write buffer to save the memory.
| |
EnableCrcCheck |
Gets or sets a value indicating whether this ClientConfiguration enable
crc check.
When EnalbeMD5Check is set true, MD5 will be checked and CRC check will be skipped whenever MD5 is applicable.
| |
EnalbeMD5Check |
Flag of enabling MD5 checksum.
When EnalbeMD5Check is set true, MD5 will be checked and CRC check will be skipped whenever MD5 is applicable.
| |
IsCname |
If the endpoint is the CName.
If it's CName, ListBuckets is not supported.
| |
MaxErrorRetry |
Max error retry count
| |
MaxPartCachingSize |
Gets or sets the size of the max part caching size
In multipart upload (resumable upload), if the part size is no bigger than MaxPartCachingSize, it will cache the whole part data before sending the data out.
| |
PreReadBufferCount |
Gets or sets the pre read buffer count in resumable upload.
The max value could be the same size of MaxResumableUploadThreads;
| |
ProgressUpdateInterval |
The progress update interval in terms of data upload/download's delta in bytes. By default it's 4096 bytes.
| |
Protocol |
Protocols used to access OSS (HTTP or HTTPS)
| |
ProxyDomain |
The proxy user name's domain for authentication
| |
ProxyHost |
Proxy host
| |
ProxyPassword |
Proxy user password
| |
ProxyPort |
Proxy port
| |
ProxyUserName |
Proxy user name
| |
TickOffset |
Gets the difference between customized epoch time and local time, in seconds
| |
UserAgent |
User-Agent in requests to OSS
| |
UseSingleThreadReadInResumableUpload |
When uploading a file with resumable upload, the default behavior is to read the source file in multiple-threading.
But in old HDD, single thread read may be faster. And when the read speed is the bottleneck, try to change this parameter to compare the result.
|