From 3784e25f640656a40e3f90075f3a7efd8f809ef7 Mon Sep 17 00:00:00 2001 From: Administrator Date: Sat, 11 Dec 2021 16:52:02 +0800 Subject: [PATCH] 1 --- src/AsyncClient.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/AsyncClient.php b/src/AsyncClient.php index 138db6d..fbded18 100644 --- a/src/AsyncClient.php +++ b/src/AsyncClient.php @@ -97,12 +97,8 @@ class AsyncClient extends ClientAbstracts $array[] = sprintf('%s: %s', $key, $value); } } - $array = implode("\r\n", $array) . "\r\n\r\n"; -// -// $array .= $data; -// - $this->client->send($array . json_encode($data,JSON_UNESCAPED_UNICODE)); + $this->client->send($array . $this->getData()->getContents()); $revice = $this->client->recv();