From 0de470d4469a3978a824528c66a9d89bc6245f57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 2 Aug 2021 11:15:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HttpServer/Http/Request.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/HttpServer/Http/Request.php b/HttpServer/Http/Request.php index b6281a3f..ab68fbe0 100644 --- a/HttpServer/Http/Request.php +++ b/HttpServer/Http/Request.php @@ -86,6 +86,15 @@ class Request extends HttpService } + /** + * @return mixed + */ + public function getStartTime() + { + return $this->headers->get('request_time_float'); + } + + /** * @return int */