Class AbstractTransfer
Contains abstract functionality for transfer objects.
Direct known subclasses
OpenCloud\ObjectStore\Upload\ConcurrentTransfer, OpenCloud\ObjectStore\Upload\ConsecutiveTransfer
Namespace: OpenCloud\ObjectStore\Upload
Located at OpenCloud/ObjectStore/Upload/AbstractTransfer.php
Located at OpenCloud/ObjectStore/Upload/AbstractTransfer.php
public static
static
|
|
public
mixed
|
|
public
mixed
|
|
public
mixed
|
|
public
array
|
|
public
mixed
|
|
public
mixed
|
|
public
|
|
public
mixed
|
|
protected
mixed
|
|
public
Guzzle\Http\Message\Response
|
integer |
MIN_PART_SIZE
Minimum chunk size is 1MB. |
# 1048576 |
integer |
MAX_PART_SIZE
Maximum chunk size is 5GB. |
# 5368709120 |
integer |
DEFAULT_PART_SIZE
Default chunk size is 1GB. |
# 1073741824 |
protected
|
$client
The client object which handles all HTTP interactions |
|
protected
Guzzle\Http\EntityBody
|
$entityBody
The payload being transferred |
|
protected
|
$transferState
The current state of the transfer responsible for, among other things, holding an itinerary of uploaded parts |
|
protected
array
|
$options
User-defined key/pair options |
|
protected
integer
|
$partSize
|
|
protected
array
|
$defaultOptions
Defaults that will always override user-defined options |
# array(
'concurrency' => true,
'partSize' => self::DEFAULT_PART_SIZE,
'prefix' => 'segment',
'doPartChecksum' => true
) |