This commit is contained in:
2020-09-02 11:54:47 +08:00
parent 784c3dfaf1
commit 645d04e824
+1
View File
@@ -172,6 +172,7 @@ class Server extends Application
*/
private function onListenerBind($config, $newListener)
{
var_dump($config, $newListener);
if ($config['type'] == self::HTTP) {
$newListener->on('request', [Snowflake::createObject(OnRequest::class), 'onHandler']);
} else if ($config['type'] == self::TCP || $config['type'] == self::PACKAGE) {