<?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;
}
| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| Client.php | 2026-10-22 10:47 | 607 B | 76129f60960:kunden | -xw-x--x-- | |
| ClientException.php | 2026-10-22 10:47 | 333 B | 76129f60960:kunden | -xw-x--x-- | |
| FileClient.php | 2026-10-22 10:47 | 2.21 KB | 76129f60960:kunden | -xw-x--x-- | |
| Parser.php | 2026-10-22 10:47 | 14.85 KB | 76129f60960:kunden | -xw-x--x-- | |
| Psr18Client.php | 2026-10-22 10:47 | 4.34 KB | 76129f60960:kunden | -xw-x--x-- | |
| Psr7Response.php | 2026-10-22 10:47 | 2.13 KB | 76129f60960:kunden | -xw-x--x-- | |
| RawTextResponse.php | 2026-10-22 10:47 | 2.02 KB | 76129f60960:kunden | -xw-x--x-- | |
| Response.php | 2026-10-22 10:47 | 6.78 KB | 76129f60960:kunden | -xw-x--x-- | |