| Server IP : 172.67.74.113 / Your IP : 104.23.243.4 Web Server : Microsoft-IIS/10.0 System : Windows NT WIN8112 10.0 build 20348 (Windows Server 2022) AMD64 User : helioteixeira-003 ( 0) PHP Version : 8.5.12 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : h:/root/home/helioteixeira-003/www/OAA/wp-includes/SimplePie/src/HTTP/ |
Upload File : |
<?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;
}