改名
This commit is contained in:
@@ -193,6 +193,7 @@ class Server extends Application
|
||||
*/
|
||||
private function onListenerBind($config, $newListener, $event)
|
||||
{
|
||||
$this->debug(sprintf('Listener %s::%d', $config['host'], $config['port']));
|
||||
if ($config['type'] == self::HTTP) {
|
||||
$newListener->on('request', [Snowflake::createObject(OnRequest::class), 'onHandler']);
|
||||
if (!$event->exists(Event::SERVER_WORKER_START, [$this, 'onLoadHttpHandler'])) {
|
||||
|
||||
Reference in New Issue
Block a user