eee
This commit is contained in:
@@ -49,6 +49,10 @@ class SwooleHttpResponseEmitter implements ResponseEmitterInterface
|
|||||||
foreach ($proxy->getCookieParams() as $cookie) {
|
foreach ($proxy->getCookieParams() as $cookie) {
|
||||||
$response->setCookie(...$cookie);
|
$response->setCookie(...$cookie);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$request = \request();
|
||||||
|
|
||||||
|
$response->header('Run-Time', microtime(true) - +$request->getServerParam('request_time_float'));
|
||||||
$response->header('Server', 'swoole');
|
$response->header('Server', 'swoole');
|
||||||
$response->header('Swoole-Version', swoole_version());
|
$response->header('Swoole-Version', swoole_version());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user