From 39343a8bc1c066cb4d1db5295b19ac3a52732dfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 2 Sep 2020 14:28:21 +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 --- http-server/Http/HttpHeaders.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/http-server/Http/HttpHeaders.php b/http-server/Http/HttpHeaders.php index 6cfa2a0b..597b583e 100644 --- a/http-server/Http/HttpHeaders.php +++ b/http-server/Http/HttpHeaders.php @@ -95,6 +95,14 @@ class HttpHeaders return $this->response; } + /** + * @return array + */ + public function toArray() + { + return $this->headers; + } + /** * @param $name * @return mixed|null