改名
This commit is contained in:
@@ -32,11 +32,6 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa
|
||||
#[Inject(Annotation::class)]
|
||||
public Annotation $annotation;
|
||||
|
||||
|
||||
#[Inject(ContainerInterface::class)]
|
||||
public ContainerInterface $container;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @throws \Exception
|
||||
@@ -62,12 +57,6 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa
|
||||
}
|
||||
}
|
||||
}
|
||||
$config = Config::get('rpc.pool', null);
|
||||
if (!is_null($config)) {
|
||||
$this->container->mapping(RpcClientInterface::class, JsonRpcPoolTransporter::class);
|
||||
} else {
|
||||
$this->container->mapping(RpcClientInterface::class, JsonRpcTransporter::class);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user