Class RpcResponse
- Namespace
- Livekit.Server.Sdk.Dotnet
- Assembly
- LivekitApi.dll
public sealed class RpcResponse : IMessage<RpcResponse>, IEquatable<RpcResponse>, IDeepCloneable<RpcResponse>, IBufferMessage, IMessage
- Inheritance
-
RpcResponse
- Implements
-
IBufferMessage
- Inherited Members
Constructors
RpcResponse()
public RpcResponse()
RpcResponse(RpcResponse)
public RpcResponse(RpcResponse other)
Parameters
otherRpcResponse
Properties
CompressedPayload
Compressed payload data. When set, this field is used instead of payload.
public ByteString CompressedPayload { get; set; }
Property Value
Error
public RpcError Error { get; set; }
Property Value
HasCompressedPayload
Gets whether the "compressed_payload" field is set
public bool HasCompressedPayload { get; }
Property Value
HasPayload
Gets whether the "payload" field is set
public bool HasPayload { get; }
Property Value
Payload
public string Payload { get; set; }
Property Value
RequestId
public string RequestId { get; set; }
Property Value
ValueCase
public RpcResponse.ValueOneofCase ValueCase { get; }
Property Value
Methods
ClearCompressedPayload()
Clears the value of the oneof if it's currently set to "compressed_payload"
public void ClearCompressedPayload()
ClearPayload()
Clears the value of the oneof if it's currently set to "payload"
public void ClearPayload()
ClearValue()
public void ClearValue()