Home
last modified time | relevance | path

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

123

/external/grpc-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))
/external/grpc-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);
207 $unary_call = $client->UnaryCall($req);
DInterceptorTest.php66 public function UnaryCall( function in InterceptorClient
237 $unary_call = $client->UnaryCall($req);
267 $unary_call = $client->UnaryCall($req);
293 $unary_call = $client->UnaryCall($req);
323 $unary_call = $client->UnaryCall($req);
374 $unary_call = $client->UnaryCall($req);
/external/grpc-grpc/src/python/grpcio_tests/tests/protoc_plugin/
D_python_plugin_test.py75 def UnaryCall(self, request, unused_rpc_context): member in _ServicerMethods
146 def UnaryCall(self, request, context): member in _CreateService.Servicer
147 return servicer_methods.UnaryCall(request, context)
246 service.stub.UnaryCall(request)
254 response = service.stub.UnaryCall(request)
255 expected_response = service.servicer_methods.UnaryCall(
265 response_future = service.stub.UnaryCall.future(request)
267 expected_response = service.servicer_methods.UnaryCall(
276 response_future = service.stub.UnaryCall.future(
289 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 …]
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DMetadataCredentialsTest.cs79 client.UnaryCall(new SimpleRequest { }); in MetadataCredentials()
89 client.UnaryCall(new SimpleRequest { }, new CallOptions(credentials: callCredentials)); in MetadataCredentials_PerCall()
148 var ex = Assert.Throws<RpcException>(() => client.UnaryCall(new SimpleRequest { })); in MetadataCredentials_InterceptorLeavesMetadataEmpty()
165 var ex = Assert.Throws<RpcException>(() => client.UnaryCall(new SimpleRequest { })); in MetadataCredentials_InterceptorThrows()
172 … public override Task<SimpleResponse> UnaryCall(SimpleRequest request, ServerCallContext context) in UnaryCall() method in Grpc.IntegrationTesting.MetadataCredentialsTest.FakeTestService
DInteropClient.cs218 var response = client.UnaryCall(request); in RunLargeUnary()
334 var response = client.UnaryCall(request); in RunComputeEngineCreds()
355 var response = client.UnaryCall(request); in RunJwtTokenCreds()
375 var response = client.UnaryCall(request, new CallOptions(credentials: credentials)); in RunOAuth2AuthTokenAsync()
394 var response = client.UnaryCall(request, new CallOptions(credentials: credentials)); in RunPerRpcCredsAsync()
541 var e = Assert.Throws<RpcException>(() => client.UnaryCall(request)); in RunStatusCodeAndMessageAsync()
600 …var e = Assert.Throws<RpcException>(() => client.UnaryCall(probeRequest, CreateClientCompressionMe… in RunClientCompressedUnary()
612 … var response1 = client.UnaryCall(compressedRequest, CreateClientCompressionMetadata(true)); in RunClientCompressedUnary()
624 … var response2 = client.UnaryCall(uncompressedRequest, CreateClientCompressionMetadata(false)); in RunClientCompressedUnary()
DBenchmarkServiceGrpc.cs86 …lobal::System.Threading.Tasks.Task<global::Grpc.Testing.SimpleResponse> UnaryCall(global::Grpc.Tes… in UnaryCall() method in Grpc.Testing.BenchmarkService.BenchmarkServiceBase
177 …public virtual global::Grpc.Testing.SimpleResponse UnaryCall(global::Grpc.Testing.SimpleRequest re… in UnaryCall() method in Grpc.Testing.BenchmarkService.BenchmarkServiceClient
179 return UnaryCall(request, new grpc::CallOptions(headers, deadline, cancellationToken)); in UnaryCall()
188 …public virtual global::Grpc.Testing.SimpleResponse UnaryCall(global::Grpc.Testing.SimpleRequest re… in UnaryCall() method in Grpc.Testing.BenchmarkService.BenchmarkServiceClient
320 .AddMethod(__Method_UnaryCall, serviceImpl.UnaryCall) in BindService()
DSslCredentialsTest.cs82 var response = client.UnaryCall(new SimpleRequest { ResponseSize = 10 }); in AuthenticatedClientAndServer()
97 … public override Task<SimpleResponse> UnaryCall(SimpleRequest request, ServerCallContext context) in UnaryCall() method in Grpc.IntegrationTesting.SslCredentialsTest.SslCredentialsTestServiceImpl
DGeneratedClientTest.cs39 …Assert.Throws(typeof(NotImplementedException), () => unimplementedClient.UnaryCall(new SimpleReque… in DefaultMethodStubThrows_UnaryCall()
DBenchmarkServiceImpl.cs38 … public override Task<SimpleResponse> UnaryCall(SimpleRequest request, ServerCallContext context) in UnaryCall() method in Grpc.Testing.BenchmarkServiceImpl
/external/grpc-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 …]
/external/grpc-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
DUnaryCall.php26 class UnaryCall extends AbstractCall class
/external/grpc-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(
115 self._stub.UnaryCall(self._request, _TIMEOUT)
125 response_future = self._stub.UnaryCall.future(self._request, _TIMEOUT)
/external/golang-protobuf/protoc-gen-go/testdata/grpc/
Dgrpc.pb.go194 UnaryCall(ctx context.Context, in *SimpleRequest, opts ...grpc.CallOption) (*SimpleResponse, error) methodSpec
211 func (c *testClient) UnaryCall(ctx context.Context, in *SimpleRequest, opts ...grpc.CallOption) (*S… func
319 UnaryCall(context.Context, *SimpleRequest) (*SimpleResponse, error) methodSpec
332 func (*UnimplementedTestServer) UnaryCall(ctx context.Context, req *SimpleRequest) (*SimpleResponse… func
355 return srv.(TestServer).UnaryCall(ctx, in)
362 return srv.(TestServer).UnaryCall(ctx, req.(*SimpleRequest))
/external/flatbuffers/tests/FlatBuffers.GRPC.Swift/Sources/Model/
Dgreeter.grpc.swift24 …func SayHello(_ request: Message<HelloRequest>, callOptions: CallOptions?) -> UnaryCall<Message<He… in SayHello()
37 …o(_ request: Message<HelloRequest>, callOptions: CallOptions? = nil) -> UnaryCall<Message<HelloReq… in SayHello()
/external/grpc-grpc/src/python/grpcio_tests/tests/interop/
Dmethods.py62 def UnaryCall(self, request, context): member in TestService
137 response_future = stub.UnaryCall.future(
350 response_future = stub.UnaryCall.future(request)
401 response_future = stub.UnaryCall.future(request, metadata=metadata)
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/generic/
Dgeneric_stub.h89 void UnaryCall(ClientContext* context, const std::string& method, in UnaryCall() function
125 void UnaryCall(ClientContext* context, const std::string& method, in UnaryCall() function
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/generic/
Dgeneric_stub.h89 void UnaryCall(ClientContext* context, const std::string& method, in UnaryCall() function
125 void UnaryCall(ClientContext* context, const std::string& method, in UnaryCall() function
/external/grpc-grpc/src/php/tests/qps/generated_code/Grpc/Testing/
DBenchmarkServiceClient.php43 public function UnaryCall(\Grpc\Testing\SimpleRequest $argument, function in Grpc\\Testing\\BenchmarkServiceClient
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/
DServerCalls.cs28 …public static IServerCallHandler UnaryCall<TRequest, TResponse>(Method<TRequest, TResponse> method…

123