Interface RpcCallParams

Parameters for RPC calls that can be passed as the last argument to any RPC method.

interface RpcCallParams {
    reliable?: boolean;
    targetConnectionIds: number[];
    timeout?: number;
}

Properties

reliable?: boolean

Whether the call should be reliable (guaranteed delivery). Defaults to true.

targetConnectionIds: number[]

Connection IDs of the target clients for the RPC call. For single client RPC's a single value must be provided.

timeout?: number

Optional timeout in milliseconds for the RPC call. If not specified, uses the default timeout.