Table of Contents

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

requestId string

The request ID.

callerIdentity string

The caller identity.

payload string

The payload.

responseTimeout double

The response timeout in seconds.

Properties

CallerIdentity

Gets the unique participant identity of the caller.

public string CallerIdentity { get; }

Property Value

string

Payload

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

public string Payload { get; }

Property Value

string

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

string

ResponseTimeout

Gets the maximum time the caller will wait for a response in seconds.

public double ResponseTimeout { get; }

Property Value

double