FM

/home/u523506497/domains/mymelon.in/public_html/wp-includes/SimplePie/src/HTTP UP

<?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;
}
Client.php607V
ClientException.php333V
FileClient.php2267V
Parser.php15209V
Psr18Client.php4447V
Psr7Response.php2177V
RawTextResponse.php2071V
Response.php6941V
Blog - Page 3 of 508 - My Melon - Digital Marketing & Creative Agency
Skip to content Skip to footer