Overview

Packages

  • Requests
    • Authentication
    • Cookies
    • Proxy
    • Session
    • Transport
    • Utilities

Classes

  • Requests_Proxy_HTTP

Interfaces

  • Requests_Proxy
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated

Warning! You are currently reading the documentation for Requests 1.x.

It is recommended to upgrade to Requests 2.x at your earliest convenience. Upgrading to Requests 2.x is fairly straight-forward.
A full list of the changes can be found in the Changelog.

Visit the documentation for Requests_Proxy in Requests 2.x.

Interface Requests_Proxy

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.

Direct known implementers

Requests_Proxy_HTTP
Package: Requests\Proxy
Since: 1.6
See: Requests_Hooks
Located at Requests/Proxy.php
Methods summary
public
# register( Requests_Hooks $hooks )

Register hooks as needed

Register hooks as needed

This method is called in Requests::request when the user has set an instance as the 'auth' option. Use this callback to register all the hooks you'll need.

Parameters

$hooks
Hook system

See

Requests_Hooks::register()
Requests 1.8.1 API Documentation API documentation generated by ApiGen