X7ROOT File Manager
Current Path:
/var/softaculous/sitepad/editor/site-inc/Requests
var
/
softaculous
/
sitepad
/
editor
/
site-inc
/
Requests
/
ðŸ“
..
ðŸ“
Auth
📄
Auth.php
(810 B)
ðŸ“
Cookie
📄
Cookie.php
(12.55 KB)
ðŸ“
Exception
📄
Exception.php
(1 KB)
📄
Hooker.php
(708 B)
📄
Hooks.php
(1.37 KB)
📄
IDNAEncoder.php
(11.06 KB)
📄
IPv6.php
(4.81 KB)
📄
IRI.php
(27.8 KB)
ðŸ“
Proxy
📄
Proxy.php
(813 B)
ðŸ“
Response
📄
Response.php
(2.45 KB)
📄
SSL.php
(3.93 KB)
📄
Session.php
(6.99 KB)
ðŸ“
Transport
📄
Transport.php
(1.19 KB)
ðŸ“
Utility
Editing: Exception.php
<?php /** * Exception for HTTP requests * * @package Requests */ /** * Exception for HTTP requests * * @package Requests */ class Requests_Exception extends Exception { /** * 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 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