S3 Request class.
More...
|
array | $data = false |
| PUT post fields.
|
|
string | $file |
| Filename or resource to write to.
|
|
bool | $fp = false |
| Use HTTP PUT?
|
|
object | $response |
| S3 request respone.
|
|
int | $size = 0 |
| PUT file size.
|
|
◆ __construct()
S3Request::__construct |
( |
| $verb, |
|
|
| $bucket = '', |
|
|
| $uri = '', |
|
|
| $endpoint = 's3.amazonaws.com' ) |
Constructor.
- Parameters
-
string | $verb | Verb |
string | $bucket | Bucket name |
string | $uri | Object URI |
string | $endpoint | AWS endpoint URI |
- Return values
-
◆ getResponse()
S3Request::getResponse |
( |
| ) |
|
Get the S3 response.
- Return values
-
◆ setAmzHeader()
S3Request::setAmzHeader |
( |
| $key, |
|
|
| $value ) |
Set x-amz-meta-* header.
- Parameters
-
string | $key | Key |
string | $value | Value |
- Return values
-
◆ setHeader()
S3Request::setHeader |
( |
| $key, |
|
|
| $value ) |
Set request header.
- Parameters
-
string | $key | Key |
string | $value | Value |
- Return values
-
◆ setParameter()
S3Request::setParameter |
( |
| $key, |
|
|
| $value ) |
Set request parameter.
- Parameters
-
string | $key | Key |
string | $value | Value |
- Return values
-
The documentation for this class was generated from the following file: