SDK for PHP V3

StreamDownloadHandler extends AbstractDownloadHandler
in package

FinalYes

Table of Contents

Constants

PROGRESS_SNAPSHOT_KEY  = 'progress_snapshot'
REASON_KEY  = 'reason'
REQUEST_ARGS_KEY  = 'request_args'

Methods

__construct()  : mixed
bytesTransferred()  : bool
getHandlerResult()  : StreamInterface
Returns the handler result.
transferComplete()  : void
transferFail()  : void
transferInitiated()  : void

Constants

PROGRESS_SNAPSHOT_KEY

public mixed PROGRESS_SNAPSHOT_KEY = 'progress_snapshot'

REASON_KEY

public mixed REASON_KEY = 'reason'

REQUEST_ARGS_KEY

public mixed REQUEST_ARGS_KEY = 'request_args'

Methods

bytesTransferred()

public bytesTransferred(array<string|int, mixed> $context) : bool
Parameters
$context : array<string|int, mixed>
Tags
inheritDoc
Return values
bool

transferComplete()

public transferComplete(array<string|int, mixed> $context) : void
Parameters
$context : array<string|int, mixed>

transferFail()

public transferFail(array<string|int, mixed> $context) : void
Parameters
$context : array<string|int, mixed>

transferInitiated()

public transferInitiated(array<string|int, mixed> $context) : void
Parameters
$context : array<string|int, mixed>
<-- modeled_exceptions -->
On this page