__construct() __construct( $timeoutMs, $maxRetryCount) timeoutMs: max timeout in milliseconds for each http request. maxRetryCount: max retry count for uploading each slice on error. Parameters $timeoutMs $maxRetryCount
initUploading() initUploading( $signature, $srcFpath, $url, $fileSize, $sliceSize, $bizAttr, $insertOnly) Return true on success and return false on failure. Parameters $signature $srcFpath $url $fileSize $sliceSize $bizAttr $insertOnly