✏️ 编辑:Client.php
路径:
/virtual/emerald/public_html/emerald.jpn.com/wp2020/wp-includes/SimplePie/src/HTTP/Client.php
大小:607 B · 修改:2026-06-11 17:34:38 · 权限:0747 · 可写
← 返回目录
👁 查看
⬇ 下载
<?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; }
💾 保存
取消
保存为 UTF-8,换行统一为 LF