Interface RpcInvocationData

Data passed to method handler for incoming RPC invocations

interface RpcInvocationData {
    callerIdentity: string;
    payload: string;
    requestId: string;
    responseTimeout: number;
}

Properties

callerIdentity: string

The unique participant identity of the caller.

payload: string

The payload of the request. User-definable format, typically JSON.

requestId: string

The unique request ID. Will match at both sides of the call, useful for debugging or logging.

responseTimeout: number

The maximum time the caller will wait for a response.