This commit is contained in:
2023-10-24 17:22:31 +08:00
parent 10a64ee646
commit 0a705b27bc
7 changed files with 46 additions and 39 deletions
+3 -4
View File
@@ -5,6 +5,7 @@ namespace Kiri\Rpc;
use Exception;
use Kiri\Di\Inject\Container;
use Kiri\Exception\ConfigException;
use ReflectionException;
class JsonRpcPoolTransporter implements JsonRpcTransporterInterface
{
@@ -21,9 +22,8 @@ class JsonRpcPoolTransporter implements JsonRpcTransporterInterface
* @param string $content
* @param string $service
* @return string|bool
* @throws ConfigException
* @throws RpcServiceException
* @throws \ReflectionException
* @throws ReflectionException
*/
public function push(string $content, string $service): string|bool
{
@@ -38,8 +38,7 @@ class JsonRpcPoolTransporter implements JsonRpcTransporterInterface
/**
* @throws ConfigException
* @throws Exception
* @throws Exception
*/
private function getClient()
{