This commit is contained in:
the-djmaze 2023-02-12 18:27:06 +01:00
parent 477628ed70
commit 396a1a423e

View file

@ -92,7 +92,8 @@ abstract class NetClient
}
if ($this->IsConnected()) {
$this->writeLogException(new Exceptions\SocketAlreadyConnectedException, \LOG_ERR);
$this->writeLogException(new Exceptions\SocketAlreadyConnectedException, \LOG_ERR, false);
return;
}
$this->Settings = $oSettings;
@ -214,14 +215,6 @@ abstract class NetClient
return false;
}
/**
* @throws \MailSo\Net\Exceptions\SocketConnectionDoesNotAvailableException
*/
public function IsConnectedWithException() : void
{
$this->IsConnected(true);
}
public function StreamContextParams() : array
{
return $this->rConnect && \MailSo\Base\Utils::FunctionCallable('stream_context_get_options')