A3rr0r Pro Manager
Path:
/www/wwwroot/www.smszp.cn/wp-includes/Requests
.
|
Edit
|
Rename
..
|
Edit
|
Rename
Requests.php
|
Edit
|
Rename
Requests_4251.php
|
Edit
|
Rename
Requests_8461.php
|
Edit
|
Rename
library
|
Edit
|
Rename
src
|
Edit
|
Rename
reason = $reason; } $message = sprintf('%d %s', $this->code, $this->reason); parent::__construct($message, 'httpresponse', $data, $this->code); } /** * Get the status message. * * @return string */ public function getReason() { return $this->reason; } /** * Get the correct exception class for a given error code * * @param int|bool $code HTTP status code, or false if unavailable * @return string Exception class name to use */ public static function get_class($code) { if (!$code) { return StatusUnknown::class; } $class = sprintf('\WpOrg\Requests\Exception\Http\Status%d', $code); if (class_exists($class)) { return $class; } return StatusUnknown::class; } }