Table of Contents

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

other RpcResponse

Properties

CompressedPayload

Compressed payload data. When set, this field is used instead of payload.

public ByteString CompressedPayload { get; set; }

Property Value

ByteString

Error

public RpcError Error { get; set; }

Property Value

RpcError

HasCompressedPayload

Gets whether the "compressed_payload" field is set

public bool HasCompressedPayload { get; }

Property Value

bool

HasPayload

Gets whether the "payload" field is set

public bool HasPayload { get; }

Property Value

bool

Payload

public string Payload { get; set; }

Property Value

string

RequestId

public string RequestId { get; set; }

Property Value

string

ValueCase

public RpcResponse.ValueOneofCase ValueCase { get; }

Property Value

RpcResponse.ValueOneofCase

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()