⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.184
Server IP:
65.21.180.239
Server:
Linux gowhm.eplangoweb.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.0.30
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
1305819
/
cwd
/
www
/
vendor
/
spatie
/
crawler
/
src
/
View File Name :
ResponseWithCachedBody.php
<?php namespace Spatie\Crawler; use GuzzleHttp\Psr7\Response; use Psr\Http\Message\ResponseInterface; class ResponseWithCachedBody extends Response { protected ?string $cachedBody = null; public static function fromGuzzlePsr7Response(ResponseInterface $response): static { return new static( $response->getStatusCode(), $response->getHeaders(), $response->getBody(), $response->getProtocolVersion(), $response->getReasonPhrase() ); } public function setCachedBody(?string $body = null): void { $this->cachedBody = $body; } public function getCachedBody(): ?string { return $this->cachedBody; } }