Exemplo n.º 1
0
 public static function setUpBeforeClass()
 {
     self::$client = new math\MathClient(getenv('GRPC_TEST_HOST'));
 }
Exemplo n.º 2
0
 public function setUp()
 {
     self::$client = new math\MathClient(getenv('GRPC_TEST_HOST'), []);
 }
Exemplo n.º 3
0
 public static function setUpBeforeClass()
 {
     self::$client = new math\MathClient(new Grpc\BaseStub(getenv('GRPC_TEST_HOST'), []));
 }
Exemplo n.º 4
0
 public function setUp()
 {
     self::$client = new math\MathClient(getenv('GRPC_TEST_HOST'), ['credentials' => Grpc\ChannelCredentials::createInsecure()]);
 }