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

Top ↑

See also


Top ↑

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';
}

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.