[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

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


Generated : Sun Dec 22 08:20:01 2024 Cross-referenced by PHPXref