Requests{}
Устарела с версии 6.2.0. Больше не поддерживается и может быть удалена. Используйте
`WpOrg\Requests\Requests` for actual functionality and
use `WpOrg\Requests\Autoload` for autoloading
.Requests for PHP
Inspired by Requests for Python.
Based on concepts from SimplePie_File, RequestCore and WP_Http.
Хуков нет.
Использование
$Requests = new Requests(); // use class 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 ``
Заметки
- Пакет: Requests
Список изменений
Устарела с 6.2.0 | Use WpOrg\Requests\Requests instead for the actual functionality and |
Код Requests{} Requests{} 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(); } }