PHP Class Google\Cloud\Upload\ResumableUploader

Inheritance: extends AbstractUploader
Datei anzeigen Open project: GoogleCloudPlatform/gcloud-php Class Usage Examples

Public Methods

Method Description
getResumeUri ( ) : string Gets the resume URI.
resume ( string $resumeUri ) : array Resumes a download using the provided URI.
upload ( ) : array Triggers the upload process.

Private Methods

Method Description
createResumeUri ( ) : string Creates the resume URI.
getRangeStart ( string $rangeHeader ) : integer Gets the starting range for the upload.
getStatusResponse ( ) : Psr\Http\Message\ResponseInterface Gets the status of the upload.

Method Details

getResumeUri() public method

Gets the resume URI.
public getResumeUri ( ) : string
return string

resume() public method

Resumes a download using the provided URI.
public resume ( string $resumeUri ) : array
$resumeUri string
return array

upload() public method

Triggers the upload process.
public upload ( ) : array
return array