|
Server : LiteSpeed System : Linux meridian.prostack.host 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64 User : gapyearthebulkel ( 1168) PHP Version : 8.0.30 Disable Function : NONE Directory : /home/gapyearthebulkel/www/wp-includes/SimplePie/src/HTTP/ | |
|
Path: /home/gapyearthebulkel/www/wp-includes/SimplePie/src/HTTP/Client.php
Size: 607 B
Permissions: 0644
<?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;
}