X7ROOT File Manager
Current Path:
/home/notabjze/animation.mentors-house.com/wp-includes/Requests/src
home
/
notabjze
/
animation.mentors-house.com
/
wp-includes
/
Requests
/
src
/
ðŸ“
..
ðŸ“
Auth
📄
Auth.php
(860 B)
📄
Autoload.php
(9.12 KB)
📄
Capability.php
(652 B)
ðŸ“
Cookie
📄
Cookie.php
(14.75 KB)
ðŸ“
Exception
📄
Exception.php
(1.09 KB)
📄
HookManager.php
(709 B)
📄
Hooks.php
(2.96 KB)
📄
IdnaEncoder.php
(12.14 KB)
📄
Ipv6.php
(5.51 KB)
📄
Iri.php
(28.93 KB)
📄
Port.php
(1.47 KB)
ðŸ“
Proxy
📄
Proxy.php
(867 B)
📄
Requests.php
(33.2 KB)
ðŸ“
Response
📄
Response.php
(4.18 KB)
📄
Session.php
(8.89 KB)
📄
Ssl.php
(5.3 KB)
ðŸ“
Transport
📄
Transport.php
(1.51 KB)
ðŸ“
Utility
Editing: Exception.php
<?php /** * Exception for HTTP requests * * @package Requests\Exceptions */ namespace WpOrg\Requests; use Exception as PHPException; /** * Exception for HTTP requests * * @package Requests\Exceptions */ class Exception extends PHPException { /** * Type of exception * * @var string */ protected $type; /** * Data associated with the exception * * @var mixed */ protected $data; /** * Create a new exception * * @param string $message Exception message * @param string $type Exception type * @param mixed $data Associated data * @param integer $code Exception numerical code, if applicable */ public function __construct($message, $type, $data = null, $code = 0) { parent::__construct($message, $code); $this->type = $type; $this->data = $data; } /** * Like {@see \Exception::getCode()}, but a string code. * * @codeCoverageIgnore * @return string */ public function getType() { return $this->type; } /** * Gives any relevant data * * @codeCoverageIgnore * @return mixed */ public function getData() { return $this->data; } }
Upload File
Create Folder