MethodCodec
Codec for a single RPC method: decodes requests and encodes responses.
For server-streaming methods, streaming is set to true and encode is
called once per yielded message.
Codec for a single RPC method: decodes requests and encodes responses.
For server-streaming methods, streaming is set to true and encode is
called once per yielded message.