Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.223.33.204
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
3 /
ringcentral /
psr7 /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
AppendStream.php
5.39
KB
-rw-r--r--
2018-01-15 09:00
BufferStream.php
2.98
KB
-rw-r--r--
2018-01-15 09:00
CachingStream.php
4.1
KB
-rw-r--r--
2018-01-15 09:00
DroppingStream.php
1.06
KB
-rw-r--r--
2018-01-15 09:00
FnStream.php
4.05
KB
-rw-r--r--
2018-01-15 09:00
InflateStream.php
977
B
-rw-r--r--
2018-01-15 09:00
LazyOpenStream.php
911
B
-rw-r--r--
2018-01-15 09:00
LimitStream.php
4.12
KB
-rw-r--r--
2018-01-15 09:00
MessageTrait.php
4
KB
-rw-r--r--
2018-01-15 09:00
MultipartStream.php
4.53
KB
-rw-r--r--
2018-01-15 09:00
NoSeekStream.php
424
B
-rw-r--r--
2018-01-15 09:00
PumpStream.php
3.94
KB
-rw-r--r--
2018-01-15 09:00
Request.php
3.57
KB
-rw-r--r--
2018-01-15 09:00
Response.php
3.74
KB
-rw-r--r--
2018-01-15 09:00
ServerRequest.php
2.77
KB
-rw-r--r--
2018-01-15 09:00
Stream.php
6.31
KB
-rw-r--r--
2018-01-15 09:00
StreamDecoratorTrait.php
2.98
KB
-rw-r--r--
2018-01-15 09:00
StreamWrapper.php
2.76
KB
-rw-r--r--
2018-01-15 09:00
Uri.php
15.23
KB
-rw-r--r--
2018-01-15 09:00
functions.php
23.64
KB
-rw-r--r--
2018-01-15 09:00
functions_include.php
157
B
-rw-r--r--
2018-01-15 09:00
Save
Rename
<?php namespace RingCentral\Psr7; use Psr\Http\Message\StreamInterface; /** * Trait implementing functionality common to requests and responses. */ abstract class MessageTrait { /** @var array Cached HTTP header collection with lowercase key to values */ protected $headers = array(); /** @var array Actual key to list of values per header. */ protected $headerLines = array(); /** @var string */ protected $protocol = '1.1'; /** @var StreamInterface */ protected $stream; public function getProtocolVersion() { return $this->protocol; } public function withProtocolVersion($version) { if ($this->protocol === $version) { return $this; } $new = clone $this; $new->protocol = $version; return $new; } public function getHeaders() { return $this->headerLines; } public function hasHeader($header) { return isset($this->headers[strtolower($header)]); } public function getHeader($header) { $name = strtolower($header); return isset($this->headers[$name]) ? $this->headers[$name] : array(); } public function getHeaderLine($header) { return implode(', ', $this->getHeader($header)); } public function withHeader($header, $value) { $new = clone $this; $header = trim($header); $name = strtolower($header); if (!is_array($value)) { $new->headers[$name] = array(trim($value)); } else { $new->headers[$name] = $value; foreach ($new->headers[$name] as &$v) { $v = trim($v); } } // Remove the header lines. foreach (array_keys($new->headerLines) as $key) { if (strtolower($key) === $name) { unset($new->headerLines[$key]); } } // Add the header line. $new->headerLines[$header] = $new->headers[$name]; return $new; } public function withAddedHeader($header, $value) { if (!$this->hasHeader($header)) { return $this->withHeader($header, $value); } $header = trim($header); $name = strtolower($header); $value = (array) $value; foreach ($value as &$v) { $v = trim($v); } $new = clone $this; $new->headers[$name] = array_merge($new->headers[$name], $value); $new->headerLines[$header] = array_merge($new->headerLines[$header], $value); return $new; } public function withoutHeader($header) { if (!$this->hasHeader($header)) { return $this; } $new = clone $this; $name = strtolower($header); unset($new->headers[$name]); foreach (array_keys($new->headerLines) as $key) { if (strtolower($key) === $name) { unset($new->headerLines[$key]); } } return $new; } public function getBody() { if (!$this->stream) { $this->stream = stream_for(''); } return $this->stream; } public function withBody(StreamInterface $body) { if ($body === $this->stream) { return $this; } $new = clone $this; $new->stream = $body; return $new; } protected function setHeaders(array $headers) { $this->headerLines = $this->headers = array(); foreach ($headers as $header => $value) { $header = trim($header); $name = strtolower($header); if (!is_array($value)) { $value = trim($value); $this->headers[$name][] = $value; $this->headerLines[$header][] = $value; } else { foreach ($value as $v) { $v = trim($v); $this->headers[$name][] = $v; $this->headerLines[$header][] = $v; } } } } }