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