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();