This commit is contained in:
as2252258@163.com
2021-08-03 00:45:08 +08:00
parent 74d9766be2
commit 5ead904ccc
+2 -1
View File
@@ -98,8 +98,9 @@ class HTTPServerListener extends Abstracts\Server
try {
Context::setContext(Response::class, $response);
$this->response->send('ok');
// $this->response->send('ok');
$result = 'ok';
// $result = $this->router->dispatch(HSRequest::create($request));
} catch (Error | Throwable $exception) {
$result = $this->router->exception($exception);