[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/Requests/src/Exception/Http/ -> Status418.php (source)

   1  <?php
   2  /**
   3   * Exception for 418 I'm A Teapot responses
   4   *
   5   * @link https://tools.ietf.org/html/rfc2324
   6   *
   7   * @package Requests\Exceptions
   8   */
   9  
  10  namespace WpOrg\Requests\Exception\Http;
  11  
  12  use WpOrg\Requests\Exception\Http;
  13  
  14  /**
  15   * Exception for 418 I'm A Teapot responses
  16   *
  17   * @link https://tools.ietf.org/html/rfc2324
  18   *
  19   * @package Requests\Exceptions
  20   */
  21  final class Status418 extends Http {
  22      /**
  23       * HTTP status code
  24       *
  25       * @var integer
  26       */
  27      protected $code = 418;
  28  
  29      /**
  30       * Reason phrase
  31       *
  32       * @var string
  33       */
  34      protected $reason = "I'm A Teapot";
  35  }


Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref