at path:
ROOT
/
wp-includes
/
Requests
/
src
/
Transport.php
run:
R
W
Run
Auth
DIR
2024-09-15 08:00:44
R
W
Run
Cookie
DIR
2024-06-24 17:16:39
R
W
Run
Exception
DIR
2024-09-15 08:01:08
R
W
Run
Proxy
DIR
2024-09-15 08:01:41
R
W
Run
Response
DIR
2024-09-15 08:01:51
R
W
Run
Transport
DIR
2024-09-15 08:02:03
R
W
Run
Utility
DIR
2024-06-24 17:16:39
R
W
Run
Auth.php
860 By
2022-12-15 21:32:17
R
W
Run
Delete
Rename
Autoload.php
9.12 KB
2023-04-05 13:12:26
R
W
Run
Delete
Rename
Capability.php
652 By
2023-04-05 13:12:26
R
W
Run
Delete
Rename
Cookie.php
15.03 KB
2024-09-04 11:48:32
R
W
Run
Delete
Rename
Exception.php
1.09 KB
2022-12-15 21:32:17
R
W
Run
Delete
Rename
HookManager.php
709 By
2022-12-15 21:32:17
R
W
Run
Delete
Rename
Hooks.php
2.96 KB
2023-10-12 12:34:33
R
W
Run
Delete
Rename
IdnaEncoder.php
12.14 KB
2023-04-05 13:12:26
R
W
Run
Delete
Rename
Ipv6.php
5.51 KB
2022-12-15 21:32:17
R
W
Run
Delete
Rename
Iri.php
28.93 KB
2023-10-12 12:34:33
R
W
Run
Delete
Rename
Port.php
1.47 KB
2022-12-15 21:32:17
R
W
Run
Delete
Rename
Proxy.php
867 By
2022-12-15 21:32:17
R
W
Run
Delete
Rename
Requests.php
33.2 KB
2024-09-04 11:48:32
R
W
Run
Delete
Rename
Response.php
4.18 KB
2023-04-05 13:12:26
R
W
Run
Delete
Rename
Session.php
8.89 KB
2023-10-12 12:34:33
R
W
Run
Delete
Rename
Ssl.php
5.3 KB
2022-12-15 21:32:17
R
W
Run
Delete
Rename
Transport.php
1.51 KB
2022-12-15 21:32:17
R
W
Run
Delete
Rename
error_log
4.48 KB
2026-02-05 03:47:01
R
W
Run
Delete
Rename
error_log
up
📄
Transport.php
Save
<?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 = []); }