This commit is contained in:
2021-02-14 21:54:04 +08:00
parent 028efc3821
commit 1470de4e7a
+2
View File
@@ -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);
}