改名
This commit is contained in:
+1
-1
@@ -84,7 +84,7 @@ class AsyncClient extends ClientAbstracts
|
|||||||
if ($isHttps || $this->isSSL()) {
|
if ($isHttps || $this->isSSL()) {
|
||||||
$this->client->enableSSL();
|
$this->client->enableSSL();
|
||||||
}
|
}
|
||||||
$this->client->set($this->settings());
|
$this->client->set(array_merge($this->settings(), ['package_eof' => "\r\n\r\n", 'open_eof_check' => true]));
|
||||||
if (!empty($this->getAgent())) {
|
if (!empty($this->getAgent())) {
|
||||||
$this->withAddedHeader('User-Agent', $this->getAgent());
|
$this->withAddedHeader('User-Agent', $this->getAgent());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user