This commit is contained in:
2021-08-18 11:56:19 +08:00
parent f375eec0a0
commit 99e2f36794
9 changed files with 21 additions and 14 deletions
+2 -1
View File
@@ -82,13 +82,14 @@ class Response extends HttpService implements ResponseInterface
/**
* @return mixed
* @throws
*/
public function getClientInfo(): mixed
{
if (!empty($this->_clientInfo)) {
return $this->_clientInfo;
}
$server = ServerManager::getContext()->getServer();
$server = di(ServerManager::class)->getServer();
return $server->getClientInfo($this->clientId, $this->reactorId);
}