Requests{}
Deprecated from version 6.2.0. It is no longer supported and can be removed in future releases. Use
`WpOrg\Requests\Requests` for actual functionality and
use `WpOrg\Requests\Autoload` for autoloading
instead.Requests for PHP
Inspired by Requests for Python.
Based on concepts from SimplePie_File, RequestCore and WP_Http.
No Hooks.
Usage
$Requests = new Requests(); // use class methods
Methods
- ERROR: no method name found on line ``
- ERROR: no method name found on line ``
- public static autoloader($class)
- ERROR: no method name found on line ``
- ERROR: no method name found on line ``
- ERROR: no method name found on line ``
- ERROR: no method name found on line ``
- ERROR: no method name found on line ``
- ERROR: no method name found on line ``
- ERROR: no method name found on line ``
- ERROR: no method name found on line ``
- ERROR: no method name found on line ``
- ERROR: no method name found on line ``
- ERROR: no method name found on line ``
- ERROR: no method name found on line ``
- ERROR: no method name found on line ``
- ERROR: no method name found on line ``
- ERROR: no method name found on line ``
- ERROR: no method name found on line ``
- ERROR: no method name found on line ``
- ERROR: no method name found on line ``
- public static register_autoloader()
- ERROR: no method name found on line ``
- ERROR: no method name found on line ``
- ERROR: no method name found on line ``
- ERROR: no method name found on line ``
- ERROR: no method name found on line ``
Notes
- Package: Requests
Changelog
Deprecated since 6.2.0 | Use WpOrg\Requests\Requests instead for the actual functionality and |
Requests{} Requests{} code WP 6.6.2
class Requests extends WpOrg\Requests\Requests { /** * Deprecated autoloader for Requests. * * @deprecated 6.2.0 Use the `WpOrg\Requests\Autoload::load()` method instead. * * @codeCoverageIgnore * * @param string $class Class name to load */ public static function autoloader($class) { if (class_exists('WpOrg\Requests\Autoload') === false) { require_once __DIR__ . '/Requests/src/Autoload.php'; } return WpOrg\Requests\Autoload::load($class); } /** * Register the built-in autoloader * * @deprecated 6.2.0 Include the `WpOrg\Requests\Autoload` class and * call `WpOrg\Requests\Autoload::register()` instead. * * @codeCoverageIgnore */ public static function register_autoloader() { require_once __DIR__ . '/Requests/src/Autoload.php'; WpOrg\Requests\Autoload::register(); } }