From 1470de4e7ae07f28d19d42b4cd01e8612f284202 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Sun, 14 Feb 2021 21:54:04 +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/Route/Node.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/HttpServer/Route/Node.php b/HttpServer/Route/Node.php index 608dbea1..de595883 100644 --- a/HttpServer/Route/Node.php +++ b/HttpServer/Route/Node.php @@ -13,6 +13,7 @@ use HttpServer\Application; use JetBrains\PhpStorm\Pure; use ReflectionException; use Snowflake\Core\Json; +use Snowflake\Event; use Snowflake\Exception\NotFindClassException; use Snowflake\Snowflake; use Swoole\Coroutine; @@ -105,6 +106,7 @@ class Node extends Application { return Coroutine::create(function ($request, $response) { (Reduce::after($this->_after))($request, $response); + fire(Event::EVENT_AFTER_REQUEST); }, \request(), $response); }