编辑:Transport.php
<?php /** * Base HTTP transport * * @package Requests\Transport */ namespace WpOrg\Requests; /** * Base HTTP transport * * @package Requests\Transport */ interface Transport { /** * Perform a request * * @param string $url URL to request * @param array $headers Associative array of request headers * @param string|array $data Data to send either as the POST body, or as parameters in the URL for a GET/HEAD * @param array $options Request options, see {@see \WpOrg\Requests\Requests::response()} for documentation * @return string Raw HTTP result */ public function request($url, $headers = [], $data = [], $options = []); /** * Send multiple requests simultaneously * * @param array $requests Request data (array of 'url', 'headers', 'data', 'options') as per {@see \WpOrg\Requests\Transport::request()} * @param array $options Global options, see {@see \WpOrg\Requests\Requests::response()} for documentation * @return array Array of \WpOrg\Requests\Response objects (may contain \WpOrg\Requests\Exception or string responses as well) */ public function request_multiple($requests, $options); /** * Self-test whether the transport can be used. * * The available capabilities to test for can be found in {@see \WpOrg\Requests\Capability}. * * @param array<string, bool> $capabilities Optional. Associative array of capabilities to test against, i.e. `['<capability>' => true]`. * @return bool Whether the transport can be used. */ public static function test($capabilities = []); }
保存文件
位置:
home
/
fembzvrs
/
zimeza.com
/
wp-includes
/
Requests
/
src
批量上传
创建
创建
批量权限
批量删除
名称
权限
大小
修改时间
操作
↑ 返回上级
-
-
-
-
Auth
drwxr-xr-x
-
2025-12-21 04:18
权限
删除
重命名
Cookie
drwxr-xr-x
-
2025-07-06 02:11
权限
删除
重命名
Exception
drwxr-xr-x
-
2026-05-14 04:25
权限
删除
重命名
Proxy
drwxr-xr-x
-
2025-12-21 04:18
权限
删除
重命名
Response
drwxr-xr-x
-
2025-12-21 04:18
权限
删除
重命名
Transport
drwxr-xr-x
-
2025-12-21 04:18
权限
删除
重命名
Capability.php
-rw-r--r--
652 B
2023-04-05 17:12
编辑
下载
权限
删除
重命名
Cookie.php
-rw-r--r--
15.03 KB
2024-03-25 16:23
编辑
下载
权限
删除
重命名
Ipv6.php
-rw-r--r--
5.51 KB
2022-12-16 02:32
编辑
下载
权限
删除
重命名
Proxy.php
-rw-r--r--
867 B
2022-12-16 02:32
编辑
下载
权限
删除
重命名
Requests.php
-rw-r--r--
33.2 KB
2024-03-25 16:23
编辑
下载
权限
删除
重命名
Session.php
-rw-r--r--
8.89 KB
2023-10-12 16:34
编辑
下载
权限
删除
重命名
Ssl.php
-rw-r--r--
5.3 KB
2022-12-16 02:32
编辑
下载
权限
删除
重命名
Transport.php
-rw-r--r--
1.51 KB
2022-12-16 02:32
编辑
下载
权限
删除
重命名