sarkfultion
⌂
›
wp-includes
›
SimplePie
›
src
›
HTTP
sarkfultion
9 dreads
↑ redisq
📄
Client.php
607 B
sarkfultion
dreads
📄
ClientException.php
333 B
sarkfultion
dreads
📄
error_log
3,278 B
sarkfultion
dreads
📄
FileClient.php
2,267 B
sarkfultion
dreads
📄
Parser.php
15,209 B
sarkfultion
dreads
📄
Psr18Client.php
4,447 B
sarkfultion
dreads
📄
Psr7Response.php
2,177 B
sarkfultion
dreads
📄
RawTextResponse.php
2,071 B
sarkfultion
dreads
📄
Response.php
6,941 B
sarkfultion
dreads
redisq: Client.php
<?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; }
sarkfultion