Requests_Exception_HTTP_429 WordPress Class
This class represents an HTTP 429 error, which occurs when a client makes too many requests in a given period of time. This can be due to a variety of factors, including but not limited to: -The client making too many requests in a given period of time -The client's IP address being rate-limited by the server -The client's User-Agent being rate-limited by the server This error can be handled by the client in a number of ways, including but not limited to: -Retrying the request after a given period of time -Making fewer requests in a given period of time -Using a different IP address or User-Agent
Requests_Exception_HTTP_429 #
Exception for 429 Too Many Requests responses
Description
See also
Source
File: wp-includes/Requests/Exception/HTTP/429.php
class Requests_Exception_HTTP_429 extends Requests_Exception_HTTP {
/**
* HTTP status code
*
* @var integer
*/
protected $code = 429;
/**
* Reason phrase
*
* @var string
*/
protected $reason = 'Too Many Requests';
}
Expand full source codeCollapse full source codeView on TracView on GitHub