From 2fac53bb8294c79e52bf4abf82a57704c6e6b73e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 28 Oct 2021 16:20:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/JsonRpcConsumers.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/JsonRpcConsumers.php b/src/JsonRpcConsumers.php index e4b1724..3833262 100644 --- a/src/JsonRpcConsumers.php +++ b/src/JsonRpcConsumers.php @@ -39,6 +39,7 @@ abstract class JsonRpcConsumers implements OnRpcConsumerInterface $client = $this->clientNotCoroutine($config); } $client->send(json_encode(['jsonrpc' => $version, 'service' => $service, 'method' => $method, 'params' => $data])); + $client->recv(1); $client->close(); }