WpOrg\Requests\Exception\Http

Status405{}WP 1.0

Exception for 405 Method Not Allowed responses

No Hooks.

Usage

$Status405 = new Status405();
// use class methods

Methods

No Methods in class.

Notes

  • Package: Requests\Exceptions

Status405{} code WP 6.6.2

final class Status405 extends Http {
	/**
	 * HTTP status code
	 *
	 * @var integer
	 */
	protected $code = 405;

	/**
	 * Reason phrase
	 *
	 * @var string
	 */
	protected $reason = 'Method Not Allowed';
}