This commit is contained in:
2023-04-01 22:38:04 +08:00
parent 12f70016e2
commit 6ec7d346de
+1 -1
View File
@@ -70,7 +70,7 @@ class CoroutineServer implements ServerInterface
{
$service = $this->genConfigService($service);
foreach ($service as $value) {
if ($value['type'] == Constant::SERVER_TYPE_HTTP) {
if ($value->getType() == Constant::SERVER_TYPE_HTTP) {
$this->addListener($value);
}
}