Class PerformRpcInstruction
- Namespace
- LiveKit
YieldInstruction for RPC calls. Returned by PerformRpc(PerformRpcParams).
public sealed class PerformRpcInstruction : YieldInstruction
- Inheritance
-
PerformRpcInstruction
- Inherited Members
- Extension Methods
Remarks
Access Payload after checking IsError
Properties
Error
Getter for RPC response error.
public RpcError Error { get; }
Property Value
Remarks
See RpcError for more information on error codes.
Payload
Getter for the RPC response payload. Check IsError before calling this method.
public string Payload { get; }
Property Value
Exceptions
- RpcError
Thrown if the RPC call resulted in an error