Optional
decoderThe message decoder that should be used. If undefined
the default RpcMessageDecoder will be used.
Optional
encoderThe message encoder that should be used. If undefined
the default RpcMessageEncoder will be used.
Optional
modeThe runtime mode determines whether the RPC protocol is bi-directional (default) or acts as a client or server only.
Initialization options for a RpcProtocol.