class S3Request


Located at : UKNOWVA_ROOT/components/com_community/libraries/storage/s3_lib.php

Properties

$fp
$size
$data
$response

Methods

mixed
__construct($verb, $bucket = '', $uri = '', $defaultHost = 's3.amazonaws.com')

Constructor

void
setParameter(string $key, string $value)

Set request parameter

void
setHeader(string $key, string $value)

Set request header

void
setAmzHeader(string $key, string $value)

Set x-amz-meta-* header

object
getResponse()

Get the S3 response

Details

at line 1148
mixed __construct($verb, $bucket = '', $uri = '', $defaultHost = 's3.amazonaws.com')

Constructor

Parameters

$verb
$bucket
$uri
$defaultHost

Return Value

mixed

at line 1181
void setParameter(string $key, string $value)

Set request parameter

Parameters

string $key Key
string $value Value

Return Value

void

at line 1193
void setHeader(string $key, string $value)

Set request header

Parameters

string $key Key
string $value Value

Return Value

void

at line 1205
void setAmzHeader(string $key, string $value)

Set x-amz-meta-* header

Parameters

string $key Key
string $value Value

Return Value

void

at line 1215
object getResponse()

Get the S3 response

Return Value

object | false