PHP 8.2.31
Preview: Client.php Size: 607 B
//home/nshryvcy/blissfulnepal.com/wp-includes/SimplePie/src/HTTP/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;
}

Directory Contents

Dirs: 0 × Files: 8

Name Size Perms Modified Actions
607 B lrwxr-xr-x 2025-12-03 10:08:16
Edit Download
333 B lrwxr-xr-x 2025-12-03 10:08:16
Edit Download
2.21 KB lrwxr-xr-x 2025-12-03 10:08:16
Edit Download
14.85 KB lrwxr-xr-x 2025-12-03 10:08:16
Edit Download
2.13 KB lrwxr-xr-x 2025-12-03 10:08:16
Edit Download
4.34 KB lrwxr-xr-x 2025-12-03 10:08:16
Edit Download
2.02 KB lrwxr-xr-x 2025-12-03 10:08:16
Edit Download
6.78 KB lrwxr-xr-x 2025-12-03 10:08:16
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).