Requests_Exception_HTTP_418{} WP 1.0
Exception for 418 I'm A Teapot responses
No Hooks.
Return
Null. Nothing.
Usage
$Requests_Exception_HTTP_418 = new Requests_Exception_HTTP_418(); // use class methods
Methods
No Methods in class.
Notes
- See: https://tools.ietf.org/html/rfc2324
- Package: Requests
Code of Requests_Exception_HTTP_418{} Requests Exception HTTP 418{} WP 5.6
class Requests_Exception_HTTP_418 extends Requests_Exception_HTTP {
/**
* HTTP status code
*
* @var integer
*/
protected $code = 418;
/**
* Reason phrase
*
* @var string
*/
protected $reason = "I'm A Teapot";
}