Example:
$stream = $object->downloadAsStream();
echo $stream->getContents();
public downloadAsStream ( array $options = [] ) : Psr\Http\Message\StreamInterface | ||
$options | array | [optional] { Configuration Options. @type string $encryptionKey An AES-256 customer-supplied encryption key. It will be neccesary to provide this when a key was used during the object's creation. If provided one must also include an `encryptionKeySHA256`. @type string $encryptionKeySHA256 The SHA256 hash of the customer-supplied encryption key. It will be neccesary to provide this when a key was used during the object's creation. If provided one must also include an `encryptionKey`. } |
리턴 | Psr\Http\Message\StreamInterface |