[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/Requests/src/ -> Proxy.php (summary)

Proxy connection interface

File Size: 38 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Proxy:: (1 method):
  register()


Interface: Proxy  - X-Ref

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.

register(Hooks $hooks)   X-Ref
Register hooks as needed

This method is called in {@see \WpOrg\Requests\Requests::request()} when the user
has set an instance as the 'auth' option. Use this callback to register all the
hooks you'll need.

param: \WpOrg\Requests\Hooks $hooks Hook system



Generated : Sun Dec 22 08:20:01 2024 Cross-referenced by PHPXref