This commit is contained in:
2023-10-18 10:58:24 +08:00
parent 41f2e6a18f
commit 982e9d66bc
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ class SwooleHttpResponseEmitter implements ResponseEmitterInterface
}
$response->header('Run-Time', $this->getRunTime($request));
$response->header('Server', 'swoole');
$response->header('Swoole-Version', swoole_version());
$response->header('Swoole-Version', \swoole_version());
}