[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  <?php
   2  /**
   3   * Exception for 428 Precondition Required responses
   4   *
   5   * @link https://tools.ietf.org/html/rfc6585
   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 428 Precondition Required responses
  16   *
  17   * @link https://tools.ietf.org/html/rfc6585
  18   *
  19   * @package Requests\Exceptions
  20   */
  21  final class Status428 extends Http {
  22      /**
  23       * HTTP status code
  24       *
  25       * @var integer
  26       */
  27      protected $code = 428;
  28  
  29      /**
  30       * Reason phrase
  31       *
  32       * @var string
  33       */
  34      protected $reason = 'Precondition Required';
  35  }


Generated : Sat Dec 21 08:20:01 2024 Cross-referenced by PHPXref