This commit is contained in:
2020-12-17 14:09:14 +08:00
parent 672a719dbd
commit 36c1d0502a
151 changed files with 1937 additions and 2848 deletions
+2 -1
View File
@@ -4,6 +4,7 @@
namespace HttpServer\Client;
use JetBrains\PhpStorm\Pure;
use Snowflake\Abstracts\Component;
use Snowflake\Snowflake;
use Swoole\Coroutine;
@@ -28,7 +29,7 @@ class HttpClient extends Component
/**
* @return Http2
*/
public static function http2()
#[Pure] public static function http2(): Http2
{
return Snowflake::app()->http2;
}