OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
accscourse
/
inc
/
razorpay
/
libs
/
Requests-1.7.0
/
library
/
Requests
Server IP: 10.0.0.4
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/27/2021 03:23:49 PM
rwxr-xr-x
📁
Auth
-
08/27/2021 03:23:45 PM
rwxr-xr-x
📄
Auth.php
810 bytes
08/27/2021 03:23:50 PM
rw-rw-r--
📁
Cookie
-
08/27/2021 03:23:48 PM
rwxr-xr-x
📄
Cookie.php
12.55 KB
08/27/2021 03:23:52 PM
rw-rw-r--
📁
Exception
-
08/27/2021 03:23:50 PM
rwxr-xr-x
📄
Exception.php
1 KB
08/27/2021 03:23:53 PM
rw-rw-r--
📄
Hooker.php
708 bytes
08/27/2021 03:23:51 PM
rw-rw-r--
📄
Hooks.php
1.37 KB
08/27/2021 03:23:50 PM
rw-rw-r--
📄
IDNAEncoder.php
11.06 KB
08/27/2021 03:23:52 PM
rw-rw-r--
📄
IPv6.php
4.81 KB
08/27/2021 03:23:51 PM
rw-rw-r--
📄
IRI.php
27.8 KB
08/27/2021 03:23:53 PM
rw-rw-r--
📁
Proxy
-
08/27/2021 03:24:04 PM
rwxr-xr-x
📄
Proxy.php
813 bytes
08/27/2021 03:23:53 PM
rw-rw-r--
📁
Response
-
08/27/2021 03:24:05 PM
rwxr-xr-x
📄
Response.php
2.45 KB
08/27/2021 03:23:51 PM
rw-rw-r--
📄
SSL.php
3.93 KB
08/27/2021 03:23:52 PM
rw-rw-r--
📄
Session.php
6.99 KB
08/27/2021 03:23:51 PM
rw-rw-r--
📁
Transport
-
08/27/2021 03:23:44 PM
rwxr-xr-x
📄
Transport.php
1.19 KB
08/27/2021 03:23:52 PM
rw-rw-r--
📁
Utility
-
08/27/2021 03:22:41 PM
rwxr-xr-x
Editing: Exception.php
Close
<?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; } }