Questions
Answer the following questions to test your knowledge of this chapter:
- Can you use Protobuf with no package defined?
- No
- Yes
- Only if there is a
csharp_namespace
directive - Only if you import another Protobuf definition
- How can you extract response metadata from a unary gRPC call?
- It's not possible.
- Only when you make blocking synchronous calls.
- Only when you make asynchronous calls.
- When you make either a synchronous or an asynchronous call.
- What exception will be thrown if there is a clash between server-side Protobuf implementations?
Unknown
NotFound
Unimplemented
Unresolved
- What is the
deadline
parameter used for in a gRPC call?- To set the delay on the call
- To let the server know the client's preferences regarding the response duration
- To set a strict timeout on the call's completion time
- To synchronize the clocks between the server and the client
- How do you define a bi-directional streaming call in Protobuf?
- By using the
stream
keyword before the request...
- By using the