Requests_Exception_HTTP_405{} WP 1.0
Exception for 405 Method Not Allowed responses
No Hooks.
Return
Null. Nothing.
Usage
$Requests_Exception_HTTP_405 = new Requests_Exception_HTTP_405(); // use class methods
Methods
No Methods in class.
Notes
- Package: Requests
Code of Requests_Exception_HTTP_405{} Requests Exception HTTP 405{} WP 5.6
class Requests_Exception_HTTP_405 extends Requests_Exception_HTTP {
/**
* HTTP status code
*
* @var integer
*/
protected $code = 405;
/**
* Reason phrase
*
* @var string
*/
protected $reason = 'Method Not Allowed';
}