feat : Decorator Http

This commit is contained in:
2025-09-07 10:15:57 +08:00
parent abb354ebe0
commit 04c4678e2e
9 changed files with 226 additions and 8 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace App\Interface\Test\Decorator;
use Psr\Http\Message\ResponseInterface;
interface HttpClientInterface
{
/**
* 请求装饰器接口
* @param string $method
* @param string $url
* @param array $options
* @return mixed
*/
public function request(
string $method,
string $url,
array $options = []
): mixed;
}