3 * Proxy connection interface
11 * Proxy connection interface
13 * Implement this interface to handle proxy settings and authentication
15 * Parameters should be passed via the constructor where possible, as this
16 * makes it much easier for users to use your provider.
23 interface Requests_Proxy {
25 * Register hooks as needed
27 * This method is called in {@see Requests::request} when the user has set
28 * an instance as the 'auth' option. Use this callback to register all the
31 * @see Requests_Hooks::register
32 * @param Requests_Hooks $hooks Hook system
34 public function register(Requests_Hooks &$hooks);