改名
This commit is contained in:
+3
-2
@@ -114,11 +114,12 @@ class AsyncClient extends ClientAbstracts
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$this->client->send(implode("\r\n", $array) . "\r\n\r\n" . $content);
|
$this->client->send(implode("\r\n", $array) . "\r\n\r\n" . $content);
|
||||||
$revice = gzdecode($this->client->recv());
|
$revice = $this->client->recv();
|
||||||
var_dump(implode("\r\n", $array) . "\r\n\r\n" . $revice);
|
|
||||||
|
|
||||||
[$header, $body] = explode("\r\n\r\n", $revice);
|
[$header, $body] = explode("\r\n\r\n", $revice);
|
||||||
|
|
||||||
|
var_dump($body);
|
||||||
|
|
||||||
$header = explode("\r\n", $header);
|
$header = explode("\r\n", $header);
|
||||||
$status = array_shift($header);
|
$status = array_shift($header);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user