Home
last modified time | relevance | path

Searched refs:UnaryCall (Results 1 – 25 of 84) sorted by relevance

1234

/third_party/grpc/src/python/grpcio_tests/tests/http2/
Dnegative_http2_client.py61 first_response = stub.UnaryCall(_SIMPLE_REQUEST)
65 second_response = stub.UnaryCall(_SIMPLE_REQUEST)
71 resp_future = stub.UnaryCall.future(_SIMPLE_REQUEST)
77 resp_future = stub.UnaryCall.future(_SIMPLE_REQUEST)
83 resp_future = stub.UnaryCall.future(_SIMPLE_REQUEST)
89 response = stub.UnaryCall(_SIMPLE_REQUEST)
96 response = stub.UnaryCall(_SIMPLE_REQUEST)
103 futures.append(stub.UnaryCall.future(_SIMPLE_REQUEST))
/third_party/grpc/src/php/tests/unit_tests/
DCallInvokerTest.php67 public function UnaryCall( function in CallInvokerClient
95 public function UnaryCall($channel, $method, $deserialize, $options) { function in CallInvokerUpdateChannel
96 return new UnaryCall($channel, $method, $deserialize, $options);
125 public function UnaryCall($channel, $method, $deserialize, $options) { function in CallInvokerChangeRequest
148 $this->call = new \Grpc\UnaryCall($channel, $method, $deserialize, $options);
209 $unary_call = $client->UnaryCall($req);
DInterceptorTest.php66 public function UnaryCall( function in InterceptorClient
247 $unary_call = $client->UnaryCall($req);
277 $unary_call = $client->UnaryCall($req);
303 $unary_call = $client->UnaryCall($req);
333 $unary_call = $client->UnaryCall($req);
384 $unary_call = $client->UnaryCall($req);
/third_party/grpc/src/python/grpcio_tests/tests/protoc_plugin/
D_python_plugin_test.py76 def UnaryCall(self, request, unused_rpc_context): member in _ServicerMethods
147 def UnaryCall(self, request, context): member in _CreateService.Servicer
148 return servicer_methods.UnaryCall(request, context)
248 service.stub.UnaryCall(request)
256 response = service.stub.UnaryCall(request)
257 expected_response = service.servicer_methods.UnaryCall(
267 response_future = service.stub.UnaryCall.future(request)
269 expected_response = service.servicer_methods.UnaryCall(
278 response_future = service.stub.UnaryCall.future(
291 response_future = service.stub.UnaryCall.future(request)
[all …]
Dbeta_python_plugin_test.py143 def UnaryCall(self, request, unused_rpc_context): member in _ServicerMethods
205 def UnaryCall(self, request, context): member in _CreateService.Servicer
206 return servicer_methods.UnaryCall(request, context)
363 stub.UnaryCall(request, test_constants.LONG_TIMEOUT)
374 response = stub.UnaryCall(request, test_constants.LONG_TIMEOUT)
375 expected_response = methods.UnaryCall(request, 'not a real context!')
386 response_future = stub.UnaryCall.future(
389 expected_response = methods.UnaryCall(request, 'not a real RpcContext!')
399 response_future = stub.UnaryCall.future(
411 response_future = stub.UnaryCall.future(request, 1)
[all …]
/third_party/grpc/src/csharp/Grpc.IntegrationTesting/
DMetadataCredentialsTest.cs88 client.UnaryCall(new SimpleRequest { }); in MetadataCredentials_Channel()
111 client.UnaryCall(new SimpleRequest { }, new CallOptions(credentials: callCredentials)); in MetadataCredentials_PerCall()
144 … client.UnaryCall(new SimpleRequest { }, new CallOptions(credentials: perCallCredentials)); in MetadataCredentials_BothChannelAndPerCall()
224 client.UnaryCall(new SimpleRequest { }); in MetadataCredentials_InterceptorLeavesMetadataEmpty()
239 var ex = Assert.Throws<RpcException>(() => client.UnaryCall(new SimpleRequest { })); in MetadataCredentials_InterceptorThrows()
250 … public override Task<SimpleResponse> UnaryCall(SimpleRequest request, ServerCallContext context) in UnaryCall() method in Grpc.IntegrationTesting.MetadataCredentialsTest.FakeTestService
256 return base.UnaryCall(request, context); in UnaryCall()
DInteropClient.cs221 var response = client.UnaryCall(request); in RunLargeUnary()
337 var response = client.UnaryCall(request); in RunComputeEngineCreds()
358 var response = client.UnaryCall(request); in RunJwtTokenCreds()
378 var response = client.UnaryCall(request, new CallOptions(credentials: credentials)); in RunOAuth2AuthTokenAsync()
397 var response = client.UnaryCall(request, new CallOptions(credentials: credentials)); in RunPerRpcCredsAsync()
543 var e = Assert.Throws<RpcException>(() => client.UnaryCall(request)); in RunStatusCodeAndMessageAsync()
629 …var e = Assert.Throws<RpcException>(() => client.UnaryCall(probeRequest, CreateClientCompressionMe… in RunClientCompressedUnary()
641 … var response1 = client.UnaryCall(compressedRequest, CreateClientCompressionMetadata(true)); in RunClientCompressedUnary()
653 … var response2 = client.UnaryCall(uncompressedRequest, CreateClientCompressionMetadata(false)); in RunClientCompressedUnary()
DBenchmarkServiceGrpc.cs117 …lobal::System.Threading.Tasks.Task<global::Grpc.Testing.SimpleResponse> UnaryCall(global::Grpc.Tes… in UnaryCall() method in Grpc.Testing.BenchmarkService.BenchmarkServiceBase
208 …public virtual global::Grpc.Testing.SimpleResponse UnaryCall(global::Grpc.Testing.SimpleRequest re… in UnaryCall() method in Grpc.Testing.BenchmarkService.BenchmarkServiceClient
210 return UnaryCall(request, new grpc::CallOptions(headers, deadline, cancellationToken)); in UnaryCall()
219 …public virtual global::Grpc.Testing.SimpleResponse UnaryCall(global::Grpc.Testing.SimpleRequest re… in UnaryCall() method in Grpc.Testing.BenchmarkService.BenchmarkServiceClient
351 .AddMethod(__Method_UnaryCall, serviceImpl.UnaryCall) in BindService()
364 …d<global::Grpc.Testing.SimpleRequest, global::Grpc.Testing.SimpleResponse>(serviceImpl.UnaryCall)); in BindService()
DXdsInteropClient.cs68 UnaryCall, enumerator
185 if (rpcType == RpcType.UnaryCall) in RunSingleRpcAsync()
260 return RpcType.UnaryCall; in ParseRpc()
/third_party/grpc/src/python/grpcio_tests/tests_aio/unit/
Dclose_channel_test.py72 calls = [stub.UnaryCall(messages_pb2.SimpleRequest()) for _ in range(2)]
117 stub.UnaryCall(messages_pb2.SimpleRequest()) for _ in range(2)
129 call1 = stub1.UnaryCall(messages_pb2.SimpleRequest())
130 call2 = stub2.UnaryCall(messages_pb2.SimpleRequest())
Dcall_test.py54 call = self._stub.UnaryCall(messages_pb2.SimpleRequest())
65 call = self._stub.UnaryCall(messages_pb2.SimpleRequest())
84 call = stub.UnaryCall(messages_pb2.SimpleRequest())
96 call = self._stub.UnaryCall(messages_pb2.SimpleRequest())
100 call = self._stub.UnaryCall(messages_pb2.SimpleRequest())
104 call = self._stub.UnaryCall(messages_pb2.SimpleRequest())
108 call = self._stub.UnaryCall(messages_pb2.SimpleRequest())
113 call = self._stub.UnaryCall(messages_pb2.SimpleRequest())
128 call = self._stub.UnaryCall(messages_pb2.SimpleRequest())
142 call = self._stub.UnaryCall(messages_pb2.SimpleRequest())
[all …]
Dsecure_call_test.py60 call = self._stub.UnaryCall(messages_pb2.SimpleRequest())
70 call = self._stub.UnaryCall(messages_pb2.SimpleRequest(),
Ddone_callback_test.py47 call = self._stub.UnaryCall(messages_pb2.SimpleRequest())
54 call = self._stub.UnaryCall(messages_pb2.SimpleRequest())
Dserver_interceptor_test.py235 response = await stub.UnaryCall(
241 response = await stub.UnaryCall(
245 response = await stub.UnaryCall(
/third_party/grpc/doc/
Dhttp2-interop-test-descriptions.md52 1. Client sends two UnaryCall requests (and sleeps for 1 second in-between).
69 1. Server sends a GOAWAY after receiving the first UnaryCall.
80 1. Client sends UnaryCall with:
106 1. Client sends UnaryCall with:
130 1. Client sends UnaryCall with:
158 1. Client sends UnaryCall with:
186 …1. Client sends initial UnaryCall to allow the server to update its MAX_CONCURRENT_STREAMS setting…
208 1. Client calls UnaryCall with:
250 1. Client calls UnaryCall with:
Dinterop-test-descriptions.md60 *It may be possible to use UnaryCall instead of EmptyCall, but it is harder to
97 * [UnaryCall][]
100 1. Client calls UnaryCall with:
125 * [UnaryCall][]
129 1. Client calls UnaryCall with the feature probe, an *uncompressed* message:
142 1. Client calls UnaryCall with the *compressed* message:
156 1. Client calls UnaryCall with the *uncompressed* message:
191 * [UnaryCall][]
195 1. Client calls UnaryCall with `SimpleRequest`:
524 * [UnaryCall][]
[all …]
/third_party/grpc/src/php/lib/Grpc/
DDefaultCallInvoker.php31 public function UnaryCall($channel, $method, $deserialize, $options) { function in Grpc\\DefaultCallInvoker
32 return new UnaryCall($channel, $method, $deserialize, $options);
DCallInvoker.php29 public function UnaryCall($channel, $method, $deserialize, $options); function
/third_party/grpc/src/python/grpcio_tests/tests/qps/
Dbenchmark_server.py22 def UnaryCall(self, request, context): member in BenchmarkServer
39 def UnaryCall(self, request, context): member in GenericBenchmarkServer
Dbenchmark_client.py35 self.UnaryCall = channel.unary_unary(
119 self._stub.UnaryCall(self._request, _TIMEOUT)
129 response_future = self._stub.UnaryCall.future(self._request, _TIMEOUT)
/third_party/grpc/src/python/grpcio_tests/tests_aio/benchmark/
Dbenchmark_servicer.py27 async def UnaryCall(self, request, unused_context): member in BenchmarkServicer
50 async def UnaryCall(self, unused_request, unused_context): member in GenericBenchmarkServicer
/third_party/grpc/src/php/tests/interop/
Dinterop_client.php105 list($result, $status) = $stub->UnaryCall($request, [], $options)->wait();
139 list($result, $status) = $stub->UnaryCall($request, [], [])->wait();
151 list($result, $status) = $stub->UnaryCall($request, $metadata, [])->wait();
529 $call = $stub->UnaryCall($request, $metadata);
585 $call = $stub->UnaryCall($request);
624 $call = $stub->UnaryCall($request);
/third_party/flatbuffers/grpc/examples/swift/Greeter/Sources/Model/
Dgreeter.grpc.swift36 ) -> UnaryCall<Message<models_HelloRequest>, Message<models_HelloReply>>
53 ) -> UnaryCall<Message<models_HelloRequest>, Message<models_HelloReply>> {
/third_party/grpc/test/cpp/interop/
Dinterop_client.cc195 Status s = serviceStub_.Get()->UnaryCall(&context, *request, response); in PerformLargeUnary()
244 Status s = serviceStub_.Get()->UnaryCall(&context, request, &response); in DoOauth2AuthToken()
272 Status s = serviceStub_.Get()->UnaryCall(&context, request, &response); in DoPerRpcCreds()
345 serviceStub_.Get()->UnaryCall(&probe_context, probe_req, &probe_res); in DoClientCompressedUnary()
856 Status s = serviceStub_.Get()->UnaryCall(&context, request, &response); in DoStatusWithMessage()
961 Status s = serviceStub_.Get()->UnaryCall(&context, request, &response); in DoPickFirstUnary()
998 Status s = serviceStub_.Get()->UnaryCall(&context, request, &response); in DoCustomMetadata()
1088 Status s = serviceStub_.Get()->UnaryCall(&context, request, &response); in PerformOneSoakTestIteration()
/third_party/grpc/src/python/grpcio_tests/tests/interop/
Dmethods.py78 response_future = stub.UnaryCall.future(request,
292 response_future = stub.UnaryCall.future(request)
347 response_future = stub.UnaryCall.future(request, metadata=metadata)
418 response_future = stub.UnaryCall.future(request)

1234