EndpointRpc extension
An extension on EndpointRefs that use the EndpointStreamChannel extension to create JSON RPC 2.0 instances.
See EndpointStreamChannel for more details on how these channels behave.
- on
Methods
-
createClient(
) → Client -
Creates a
rpc.Client
. -
createPeer(
{void onUnhandledError(dynamic, dynamic)?, bool strictProtocolChecks = true}) → Peer -
Creates a
rpc.Peer
. -
createServer(
{void onUnhandledError(dynamic, dynamic)?, bool strictProtocolChecks = true}) → Server -
Creates a
rpc.Server
.