Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RpcProtocolOptions

Initialization options for a RpcProtocol.

Hierarchy

  • RpcProtocolOptions

Index

Properties

The message decoder that should be used. If undefined the default RpcMessageDecoder will be used.

The message encoder that should be used. If undefined the default RpcMessageEncoder will be used.

mode?: "default" | "clientOnly" | "serverOnly"

The runtime mode determines whether the RPC protocol is bi-directional (default) or acts as a client or server only.