This commit is contained in:
as2252258@163.com
2021-08-11 01:04:57 +08:00
parent 63d8eaa4a5
commit 682246df28
219 changed files with 790 additions and 791 deletions
+4 -4
View File
@@ -6,9 +6,9 @@ namespace HttpServer\Service\Abstracts;
use Exception;
use ReflectionException;
use Snowflake\Application;
use Snowflake\Exception\NotFindClassException;
use Snowflake\Snowflake;
use Kiri\Application;
use Kiri\Exception\NotFindClassException;
use Kiri\Kiri;
/**
@@ -114,7 +114,7 @@ trait Server
throw new Exception('class not found.');
}
$class = Snowflake::createObject($classPrefix, [Snowflake::app()]);
$class = Kiri::createObject($classPrefix, [Kiri::app()]);
return [$class, 'onHandler'];
}
+1 -1
View File
@@ -5,7 +5,7 @@ namespace HttpServer\Service;
use ReflectionException;
use Snowflake\Exception\NotFindClassException;
use Kiri\Exception\NotFindClassException;
use HttpServer\Service\Abstracts\Http as AHttp;
class Http extends AHttp
+1 -1
View File
@@ -6,7 +6,7 @@ namespace HttpServer\Service;
use HttpServer\Service\Abstracts\Tcp;
use ReflectionException;
use Snowflake\Exception\NotFindClassException;
use Kiri\Exception\NotFindClassException;
/**
* Class OnPacket
+1 -1
View File
@@ -6,7 +6,7 @@ namespace HttpServer\Service;
use HttpServer\Service\Abstracts\Tcp;
use ReflectionException;
use Snowflake\Exception\NotFindClassException;
use Kiri\Exception\NotFindClassException;
/**
* Class Receive
+1 -1
View File
@@ -5,7 +5,7 @@ namespace HttpServer\Service;
use ReflectionException;
use Snowflake\Exception\NotFindClassException;
use Kiri\Exception\NotFindClassException;
use HttpServer\Service\Abstracts\Websocket as HAWebsocket;