Skip to content

Commit 6cb1210

Browse files
committed
update: (http) Remove Net/Http/Client.
1 parent 662dd55 commit 6cb1210

14 files changed

Lines changed: 28 additions & 1840 deletions

File tree

src/Net/Http.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
namespace Ripple\Net;
1414

15-
use Ripple\Net\Http\Client;
1615
use Ripple\Net\Http\Server;
1716
use Ripple\Stream\Exception\ConnectionException;
1817
use Throwable;
@@ -34,14 +33,4 @@ public static function server(string $address, mixed $steamContext = null): Serv
3433
throw new RuntimeException($e->getMessage(), $e->getCode(), $e);
3534
}
3635
}
37-
38-
/**
39-
* 创建 HTTP 客户端
40-
* @param array $config 客户端配置选项
41-
* @return Client
42-
*/
43-
public static function client(array $config = []): Client
44-
{
45-
return new Client($config);
46-
}
4736
}

0 commit comments

Comments
 (0)