Join 4,000+ others and never miss out on new tips, tutorials, and more.
Latest version:
pecl install openswoole-22.1.2 | composer require openswoole/core:22.1.5
<?php OpenSwoole\GRPC\ClientPool->__construct()
A factory class to create a new connection, it cloud be OpenSwoole\GRPC\ClientFactory::class
.
The config data that the factory class needs to create a new instance.
This size of connection pool, default size is 16.
Enable hearbeat.
Create a new GRPC ClientPool
with constructor function.