src/ThirdParty/StorageQcloud.php

Classes

Qcloud
Conf
Auth Auth class for creating reusable or nonreusable signature.
Cosapi
HttpClient
SliceUploading Uploading file to cos slice by slice.
HttpRequest
HttpResponse
LibcurlWrapper

Constants

COSAPI_SUCCESS

COSAPI_SUCCESS = 0

COSAPI_PARAMS_ERROR

COSAPI_PARAMS_ERROR = -1

COSAPI_NETWORK_ERROR

COSAPI_NETWORK_ERROR = -2

COSAPI_INTEGRITY_ERROR

COSAPI_INTEGRITY_ERROR = -3

Functions

my_curl_reset()

my_curl_reset(  $handler) 

Parameters

$handler

buildCustomPostFields()

buildCustomPostFields(  $fields) : \Phpcmf\ThirdParty\Storage\$boundary

Build custom post fields for safe multipart POST request for php before 5.5.

Parameters

$fields

array of key -> value fields to post.

Returns

\Phpcmf\ThirdParty\Storage\$boundary —

and encoded post fields.