• Home
  • Raw
  • Download

Lines Matching refs:stub

59 function emptyUnary($stub)  argument
62 $stub->EmptyCall(new Grpc\Testing\EmptyMessage())->wait();
72 function largeUnary($stub) argument
74 performLargeUnary($stub);
84 function performLargeUnary($stub, $fillUsername = false, argument
105 list($result, $status) = $stub->UnaryCall($request, [], $options)->wait();
124 function clientCompressedUnary($stub) argument
139 list($result, $status) = $stub->UnaryCall($request, [], [])->wait();
151 list($result, $status) = $stub->UnaryCall($request, $metadata, [])->wait();
172 function serviceAccountCreds($stub, $args) argument
180 $result = performLargeUnary($stub, $fillUsername = true,
195 function computeEngineCreds($stub, $args) argument
203 $result = performLargeUnary($stub, $fillUsername = true,
215 function jwtTokenCreds($stub, $args) argument
220 $result = performLargeUnary($stub, $fillUsername = true,
232 function oauth2AuthToken($stub, $args) argument
237 $result = performLargeUnary($stub, $fillUsername = true,
264 function perRpcCreds($stub, $args) argument
270 $result = performLargeUnary($stub, $fillUsername = true,
282 function clientStreaming($stub) argument
296 $call = $stub->StreamingInputCall();
311 function clientCompressedStreaming($stub) argument
329 $call = $stub->StreamingInputCall();
340 $call = $stub->StreamingInputCall([
373 function serverStreaming($stub) argument
385 $call = $stub->StreamingOutputCall($request);
405 function pingPong($stub) argument
410 $call = $stub->FullDuplexCall();
442 function emptyStream($stub) argument
444 $call = $stub->FullDuplexCall();
455 function cancelAfterBegin($stub) argument
457 $call = $stub->StreamingInputCall();
469 function cancelAfterFirstResponse($stub) argument
471 $call = $stub->FullDuplexCall();
489 function timeoutOnSleepingServer($stub) argument
491 $call = $stub->FullDuplexCall([], ['timeout' => 1000]);
508 function customMetadata($stub) argument
529 $call = $stub->UnaryCall($request, $metadata);
548 $streaming_call = $stub->FullDuplexCall($metadata);
576 function statusCodeAndMessage($stub) argument
585 $call = $stub->UnaryCall($request);
595 $streaming_call = $stub->FullDuplexCall();
612 function specialStatusMessage($stub) argument
624 $call = $stub->UnaryCall($request);
638 function unimplementedService($stub) argument
640 $call = $stub->UnimplementedCall(new Grpc\Testing\EmptyMessage());
647 function unimplementedMethod($stub) argument
649 $call = $stub->UnimplementedCall(new Grpc\Testing\EmptyMessage());
737 $stub = new Grpc\Testing\UnimplementedServiceClient($server_address,
740 $stub = new Grpc\Testing\TestServiceClient($server_address, $opts);
743 return $stub;
746 function interop_main($args, $stub = false) argument
748 if (!$stub) {
749 $stub = _makeStub($args);
757 emptyUnary($stub);
760 largeUnary($stub);
763 clientStreaming($stub);
766 serverStreaming($stub);
769 pingPong($stub);
772 emptyStream($stub);
775 cancelAfterBegin($stub);
778 cancelAfterFirstResponse($stub);
781 timeoutOnSleepingServer($stub);
784 customMetadata($stub);
787 statusCodeAndMessage($stub);
790 specialStatusMessage($stub);
792 unimplementedService($stub);
795 unimplementedMethod($stub);
798 serviceAccountCreds($stub, $args);
801 computeEngineCreds($stub, $args);
804 jwtTokenCreds($stub, $args);
807 oauth2AuthToken($stub, $args);
810 perRpcCreds($stub, $args);
813 clientCompressedUnary($stub);
816 clientCompressedStreaming($stub);
823 return $stub;