Class RpcInvocationData
- Namespace
- LiveKit.Rtc
- Assembly
- LivekitRtc.dll
Data passed to method handler for incoming RPC invocations.
public class RpcInvocationData
- Inheritance
-
RpcInvocationData
- Inherited Members
Constructors
RpcInvocationData(string, string, string, double)
Initializes a new RpcInvocationData.
public RpcInvocationData(string requestId, string callerIdentity, string payload, double responseTimeout)
Parameters
requestIdstringThe request ID.
callerIdentitystringThe caller identity.
payloadstringThe payload.
responseTimeoutdoubleThe response timeout in seconds.
Properties
CallerIdentity
Gets the unique participant identity of the caller.
public string CallerIdentity { get; }
Property Value
Payload
Gets the payload of the request. User-definable format, typically JSON.
public string Payload { get; }
Property Value
RequestId
Gets the unique request ID. Will match at both sides of the call, useful for debugging or logging.
public string RequestId { get; }
Property Value
ResponseTimeout
Gets the maximum time the caller will wait for a response in seconds.
public double ResponseTimeout { get; }