at path:
ROOT
/
wp-includes
/
SimplePie
/
src
/
HTTP
/
Client.php
run:
R
W
Run
Client.php
607 By
2025-12-03 11:02:22
R
W
Run
Delete
Rename
ClientException.php
333 By
2025-12-03 11:02:22
R
W
Run
Delete
Rename
FileClient.php
2.21 KB
2025-12-03 11:02:22
R
W
Run
Delete
Rename
Parser.php
14.85 KB
2025-12-03 11:02:22
R
W
Run
Delete
Rename
Psr18Client.php
4.34 KB
2025-12-03 11:02:22
R
W
Run
Delete
Rename
Psr7Response.php
2.13 KB
2025-12-03 11:02:22
R
W
Run
Delete
Rename
RawTextResponse.php
2.02 KB
2025-12-03 11:02:22
R
W
Run
Delete
Rename
Response.php
6.78 KB
2025-12-03 11:02:22
R
W
Run
Delete
Rename
error_log
3.31 KB
2026-03-31 20:36:18
R
W
Run
Delete
Rename
error_log
up
📄
Client.php
Save
<?php // SPDX-FileCopyrightText: 2004-2023 Ryan Parman, Sam Sneddon, Ryan McCue // SPDX-License-Identifier: BSD-3-Clause declare(strict_types=1); namespace SimplePie\HTTP; /** * HTTP Client interface * * @internal */ interface Client { public const METHOD_GET = 'GET'; /** * send a request and return the response * * @param Client::METHOD_* $method * @param array<string, string> $headers * * @throws ClientException if anything goes wrong requesting the data */ public function request(string $method, string $url, array $headers = []): Response; }