// SPDX-FileCopyrightText: 2004-2023 Ryan Parman, Sam Sneddon, Ryan McCue
// SPDX-License-Identifier: BSD-3-Clause
namespace SimplePie\HTTP;
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;