CoreFiles by mySites.guru
Proxy.php35 lines, 813 bytes, from wordpress-5.8.zip
Raw History Compare with 5.7.21
md5
729296e37cb350341126042e7c878710
sha1
33b8e26b841147a60ae5f9a06cbee77a6c9c7575
sha256
212ee2921c7854fc1ca27be3cf905942469d2df210c2e606bb9146bd40a7dea4
<?php
/**
 * Proxy connection interface
 *
 * @package Requests
 * @subpackage Proxy
 * @since 1.6
 */

/**
 * Proxy connection interface
 *
 * Implement this interface to handle proxy settings and authentication
 *
 * Parameters should be passed via the constructor where possible, as this
 * makes it much easier for users to use your provider.
 *
 * @see Requests_Hooks
 * @package Requests
 * @subpackage Proxy
 * @since 1.6
 */
interface Requests_Proxy {
	/**
	 * Register hooks as needed
	 *
	 * This method is called in {@see Requests::request} when the user has set
	 * an instance as the 'auth' option. Use this callback to register all the
	 * hooks you'll need.
	 *
	 * @see Requests_Hooks::register
	 * @param Requests_Hooks $hooks Hook system
	 */
	public function register(Requests_Hooks $hooks);
}

The same content is in 116 releases, WordPress 5.8-beta1 to 6.1.16. See them all, or every version of this file.