OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
reader
/
znew1aws-ses
/
vendor
/
guzzlehttp
/
psr7
/
src
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/19/2025 10:07:15 AM
rwxr-xr-x
📄
AppendStream.php
6.05 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
BufferStream.php
3.28 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
CachingStream.php
4.63 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
DroppingStream.php
1.22 KB
05/19/2025 10:07:15 AM
rw-r--r--
📁
Exception
-
05/19/2025 10:07:15 AM
rwxr-xr-x
📄
FnStream.php
4.38 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
Header.php
3.98 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
HttpFactory.php
3.09 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
InflateStream.php
1.42 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
LazyOpenStream.php
1.11 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
LimitStream.php
4.35 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
Message.php
8.38 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
MessageTrait.php
7.82 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
MimeType.php
54.98 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
MultipartStream.php
5.22 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
NoSeekStream.php
552 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
PumpStream.php
4.67 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
Query.php
3.67 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
Request.php
3.97 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
Response.php
4.95 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
Rfc7230.php
684 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
ServerRequest.php
9.66 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
Stream.php
7.49 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
StreamDecoratorTrait.php
3.39 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
StreamWrapper.php
4.65 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
UploadedFile.php
4.96 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
Uri.php
22.17 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
UriComparator.php
1.17 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
UriNormalizer.php
8.48 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
UriResolver.php
8.58 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
Utils.php
15.66 KB
05/19/2025 10:07:15 AM
rw-r--r--
Editing: LazyOpenStream.php
Close
<?php declare(strict_types=1); namespace GuzzleHttp\Psr7; use Psr\Http\Message\StreamInterface; /** * Lazily reads or writes to a file that is opened only after an IO operation * take place on the stream. */ final class LazyOpenStream implements StreamInterface { use StreamDecoratorTrait; /** @var string */ private $filename; /** @var string */ private $mode; /** * @var StreamInterface */ private $stream; /** * @param string $filename File to lazily open * @param string $mode fopen mode to use when opening the stream */ public function __construct(string $filename, string $mode) { $this->filename = $filename; $this->mode = $mode; // unsetting the property forces the first access to go through // __get(). unset($this->stream); } /** * Creates the underlying stream lazily when required. */ protected function createStream(): StreamInterface { return Utils::streamFor(Utils::tryFopen($this->filename, $this->mode)); } }