Skip to content

[composer][7/7]Implement unary callable rpc method's samplecode#524

Closed
summer-ji-eng wants to merge 1 commit intocallable_rpc_lro_45from
callable_rpc_regular_46
Closed

[composer][7/7]Implement unary callable rpc method's samplecode#524
summer-ji-eng wants to merge 1 commit intocallable_rpc_lro_45from
callable_rpc_regular_46

Conversation

@summer-ji-eng
Copy link
Copy Markdown
Contributor

Unary rpc callable method sample code:

   * try (EchoClient echoClient = EchoClient.create()) {
   *   EchoRequest request = EchoRequest.newBuilder().build();
   *   ApiFuture<EchoResponse> future = echoClient.echoCallable().futureCall(request);
   *   // Do something
   *   EchoResponse response = future.get();
   * }
   * 

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant