Lines Matching refs:Grpc
35 $this->channel = new Grpc\Channel('localhost:50000',
36 ['credentials' => Grpc\ChannelCredentials::createInsecure()]);
42 $channel = new Grpc\Channel('localhost:50033',
43 ['credentials' => \Grpc\ChannelCredentials::createSsl()]);
49 $xdsCreds = \Grpc\ChannelCredentials::createXds(
50 \Grpc\ChannelCredentials::createSsl()
56 $xdsCreds = \Grpc\ChannelCredentials::createXds(
57 \Grpc\ChannelCredentials::createInsecure()
64 $xdsCreds = \Grpc\ChannelCredentials::createXds(null);
69 $xdsCreds = \Grpc\ChannelCredentials::createXds("invalid-type");
74 $this->channel = new Grpc\Channel('localhost:50001',
75 ['credentials' => Grpc\ChannelCredentials::createInsecure()]);
82 $this->channel = new Grpc\Channel('localhost:50002',
83 ['credentials' => Grpc\ChannelCredentials::createInsecure()]);
90 $this->channel = new Grpc\Channel('localhost:50003',
91 ['credentials' => Grpc\ChannelCredentials::createInsecure()]);
98 $this->channel = new Grpc\Channel('localhost:50004',
99 ['credentials' => Grpc\ChannelCredentials::createInsecure()]);
106 $this->channel = new Grpc\Channel('localhost:50005',
107 ['credentials' => Grpc\ChannelCredentials::createInsecure()]);
114 $this->channel = new Grpc\Channel('localhost:50006',
115 ['credentials' => Grpc\ChannelCredentials::createInsecure()]);
116 $now = Grpc\Timeval::now();
117 $deadline = $now->add(new Grpc\Timeval(100*1000)); // 100ms
128 $this->channel = new Grpc\Channel('localhost:50007',
129 ['credentials' => Grpc\ChannelCredentials::createInsecure()]);
137 $this->channel = new Grpc\Channel();
144 $this->channel = new Grpc\Channel('localhost:50008', 'invalid');
151 $this->channel = new Grpc\Channel('localhost:50009',
152 ['credentials' => new Grpc\Timeval(100)]);
158 $this->channel = new Grpc\Channel('localhost:50010',
165 $this->channel = new Grpc\Channel('localhost:50011',
166 ['credentials' => Grpc\ChannelCredentials::createInsecure()]);
173 $this->channel = new Grpc\Channel('localhost:50012',
174 ['credentials' => Grpc\ChannelCredentials::createInsecure()]);
181 $this->channel = new Grpc\Channel('localhost:50013',
182 ['credentials' => Grpc\ChannelCredentials::createInsecure()]);
194 $now = Grpc\Timeval::now();
195 $deadline = $now->add(new Grpc\Timeval(1000));
206 $this->channel1 = new Grpc\Channel('localhost:50014', [
211 $this->channel2 = new Grpc\Channel('localhost:50014', []);
236 $this->channel1 = new Grpc\Channel('localhost:50015', [
239 $this->channel2 = new Grpc\Channel('localhost:50016', []);
264 $this->channel1 = new Grpc\Channel('localhost:50017', [
268 $this->channel2 = new Grpc\Channel('localhost:50017', ["abc" => "def"]);
285 $this->channel1 = new Grpc\Channel('localhost:50018', [
288 $this->channel2 = new Grpc\Channel('localhost:50018', ["abc" => "def"]);
307 Grpc\ChannelCredentials::createSsl(),
308 Grpc\ChannelCredentials::createSsl(),
312 Grpc\ChannelCredentials::createSsl(
315 Grpc\ChannelCredentials::createSsl(
321 Grpc\ChannelCredentials::createInSecure(),
322 Grpc\ChannelCredentials::createInSecure(),
326 \Grpc\ChannelCredentials::createXds(
327 \Grpc\ChannelCredentials::createSsl()
329 \Grpc\ChannelCredentials::createXds(
330 \Grpc\ChannelCredentials::createSsl()
335 \Grpc\ChannelCredentials::createXds(
336 \Grpc\ChannelCredentials::createSsl()
338 \Grpc\ChannelCredentials::createXds(
339 \Grpc\ChannelCredentials::createSsl()
344 \Grpc\ChannelCredentials::createXds(
345 \Grpc\ChannelCredentials::createSsl(
349 \Grpc\ChannelCredentials::createXds(
350 \Grpc\ChannelCredentials::createSsl(
357 \Grpc\ChannelCredentials::createXds(
358 \Grpc\ChannelCredentials::createInSecure()
360 \Grpc\ChannelCredentials::createXds(
361 \Grpc\ChannelCredentials::createInSecure()
376 $this->channel1 = new Grpc\Channel(
383 $this->channel2 = new Grpc\Channel(
405 Grpc\ChannelCredentials::createSsl(),
406 Grpc\ChannelCredentials::createSsl(
412 Grpc\ChannelCredentials::createSsl(),
413 Grpc\ChannelCredentials::createInsecure(),
417 \Grpc\ChannelCredentials::createXds(
418 \Grpc\ChannelCredentials::createSsl()
420 \Grpc\ChannelCredentials::createXds(
421 \Grpc\ChannelCredentials::createSsl(
428 \Grpc\ChannelCredentials::createXds(
429 \Grpc\ChannelCredentials::createSsl()
431 \Grpc\ChannelCredentials::createXds(
432 \Grpc\ChannelCredentials::createInsecure()
437 \Grpc\ChannelCredentials::createInsecure(),
438 \Grpc\ChannelCredentials::createXds(
439 \Grpc\ChannelCredentials::createInsecure()
444 \Grpc\ChannelCredentials::createSsl(),
445 \Grpc\ChannelCredentials::createXds(
446 \Grpc\ChannelCredentials::createSsl()
462 $this->channel1 = new Grpc\Channel(
469 $this->channel2 = new Grpc\Channel(
490 $this->channel1 = new Grpc\Channel('localhost:50123', [
493 $this->channel2 = new Grpc\Channel('localhost:50123', []);
509 $this->channel1 = new Grpc\Channel('localhost:50223', [
512 $this->channel2 = new Grpc\Channel('localhost:50223', []);
527 $this->channel1 = new Grpc\Channel('localhost:50024', [
533 $this->channel2 = new Grpc\Channel('localhost:50024', []);
542 $this->channel1 = new Grpc\Channel('localhost:50025', [
545 $this->channel2 = new Grpc\Channel('localhost:50025', []);
546 $this->channel3 = new Grpc\Channel('localhost:50025', []);
575 $creds = Grpc\ChannelCredentials::createSsl();
576 $callCreds = Grpc\CallCredentials::createFromPlugin(
578 $credsWithCallCreds = Grpc\ChannelCredentials::createComposite(
584 $this->channel1 = new Grpc\Channel('localhost:50026',
589 $this->channel2 = new Grpc\Channel('localhost:50026',
608 $callCreds1 = Grpc\CallCredentials::createFromPlugin(
610 $callCreds2 = Grpc\CallCredentials::createFromPlugin(
613 $creds1 = Grpc\ChannelCredentials::createSsl();
614 $creds2 = Grpc\ChannelCredentials::createComposite(
616 $creds3 = Grpc\ChannelCredentials::createComposite(
623 $this->channel1 = new Grpc\Channel('localhost:50027',
627 $this->channel2 = new Grpc\Channel('localhost:50027',
629 $this->channel3 = new Grpc\Channel('localhost:50027',
650 $this->channel1 = new Grpc\Channel('localhost:50028', [
655 $this->channel2 = new Grpc\Channel('localhost:50028',
674 $this->channel1 = new Grpc\Channel('localhost:50029', [
677 $this->channel2 = new Grpc\Channel('localhost:50029',
680 $this->channel3 = new Grpc\Channel('localhost:50029', []);
699 $this->channel1 = new Grpc\Channel('localhost:50032', [
702 $this->channel2 = new Grpc\Channel('localhost:50032', []);
719 $this->channel1 = new Grpc\Channel('localhost:50130', [
722 $this->channel2 = new Grpc\Channel('localhost:50130',
725 $this->channel3 = new Grpc\Channel('localhost:50130', []);
742 $this->channel1 = new Grpc\Channel('localhost:50230', [
745 $this->channel2 = new Grpc\Channel('localhost:50230',
748 $this->channel3 = new Grpc\Channel('localhost:50230', []);
766 $this->channel1 = new Grpc\Channel('localhost:50031', [
769 $this->channel2 = new Grpc\Channel('localhost:50031',
771 $this->channel3 = new Grpc\Channel('localhost:50031', []);