Filestack\UploadProcessor::uploadChunkToS3
Upload a chunk of data to S3
Signature
protected function uploadChunkToS3(string
$url,
array
$headers,
binary
$chunk )
Parameters
$url
—
string
- the S3 URL (from the register task call)
$headers
—
array
- auth headers from the register task call
$chunk
—
object
- chunk of data to upload
Returns
- int
- status_code
Errors/Exceptions
-
FilestackException
- if API call fails
Test Coverage
Information
- Coverage: / Lines (%)
- Tests: 0
- Passed: 0 (0%)