- Companion
- object
class AnyVal
trait Matchable
class Any
Value members
Concrete methods
Asks for two messages even though we expect only one so that if a misbehaving client sends more than one response in a unary call we catch the contract violation and fail right away.
Asks for two messages even though we expect only one so that if a misbehaving client sends more than one response in a unary call we catch the contract violation and fail right away.
- Note
This is a trick employed by the official grpc-java, check the source if you want to learn more.