H12-891 Exam QuestionsBrowse all questions from this exam

H12-891 Exam - Question 28


gRPC is a language-neutral, platform-neutral, and open source remote RPC system and supports the service methods of unary RPCs and streaming RPCs. Which of the following service methods are not supported by gRPC? (Choose all that apply.)

Show Answer
Correct Answer: C,D

gRPC supports four types of service methods: unary RPCs, server-side streaming RPCs, client-side streaming RPCs, and bidirectional streaming RPCs. The correct syntax for defining a streaming RPC method in gRPC has 'stream' keyword indicating streaming either in the request or response, or both. The method 'rpc stream LotsOfGreetings(HelloRequest) returns (HelloResponse) {};' uses 'stream' incorrectly in the method name which is not supported by gRPC.

Discussion

1 comment
Sign in to comment
7c3a129Option: D
Jan 12, 2024

AL are supported