[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/Requests/Exception/HTTP/ -> 429.php (source)

   1  <?php
   2  /**
   3   * Exception for 429 Too Many Requests responses
   4   *
   5   * @see https://tools.ietf.org/html/draft-nottingham-http-new-status-04
   6   * @package Requests
   7   */
   8  
   9  /**
  10   * Exception for 429 Too Many Requests responses
  11   *
  12   * @see https://tools.ietf.org/html/draft-nottingham-http-new-status-04
  13   * @package Requests
  14   */
  15  class Requests_Exception_HTTP_429 extends Requests_Exception_HTTP {
  16      /**
  17       * HTTP status code
  18       *
  19       * @var integer
  20       */
  21      protected $code = 429;
  22  
  23      /**
  24       * Reason phrase
  25       *
  26       * @var string
  27       */
  28      protected $reason = 'Too Many Requests';
  29  }


Generated: Wed Jul 15 01:00:08 2020 Cross-referenced by PHPXref 0.7.1