PHP Class Google\Cloud\Upload\ResumableUploader

Inheritance: extends AbstractUploader
Afficher le fichier Open project: GoogleCloudPlatform/gcloud-php Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

Gets the resume URI.
public getResumeUri ( ) : string
Résultat string

resume() public méthode

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

upload() public méthode

Triggers the upload process.
public upload ( ) : array
Résultat array