OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
Xpress_backup
/
vendor
/
aws
/
aws-sdk-php
/
src
/
Handler
/
GuzzleV5
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
01/06/2025 08:31:03 AM
rwxr-xr-x
📄
GuzzleHandler.php
6.83 KB
05/19/2025 10:07:19 AM
rw-r--r--
📄
GuzzleStream.php
565 bytes
05/19/2025 10:07:19 AM
rw-r--r--
📄
PsrStream.php
740 bytes
05/19/2025 10:07:19 AM
rw-r--r--
Editing: PsrStream.php
Close
<?php namespace Aws\Handler\GuzzleV5; use GuzzleHttp\Stream\StreamDecoratorTrait; use GuzzleHttp\Stream\StreamInterface as GuzzleStreamInterface; use Psr\Http\Message\StreamInterface as Psr7StreamInterface; /** * Adapts a Guzzle 5 Stream to a PSR-7 Stream. * * @codeCoverageIgnore */ class PsrStream implements Psr7StreamInterface { use StreamDecoratorTrait; /** @var GuzzleStreamInterface */ private $stream; public function __construct(GuzzleStreamInterface $stream) { $this->stream = $stream; } public function rewind() { $this->stream->seek(0); } public function getContents() { return $this->stream->getContents(); } }