Table of Contents

Class RegisterWorkerRequest

Namespace
Livekit.Server.Sdk.Dotnet
Assembly
LivekitApi.dll
public sealed class RegisterWorkerRequest : IMessage<RegisterWorkerRequest>, IEquatable<RegisterWorkerRequest>, IDeepCloneable<RegisterWorkerRequest>, IBufferMessage, IMessage
Inheritance
RegisterWorkerRequest
Implements
IBufferMessage
Inherited Members

Constructors

RegisterWorkerRequest()

public RegisterWorkerRequest()

RegisterWorkerRequest(RegisterWorkerRequest)

public RegisterWorkerRequest(RegisterWorkerRequest other)

Parameters

other RegisterWorkerRequest

Properties

AgentName

public string AgentName { get; set; }

Property Value

string

AllowedPermissions

public ParticipantPermission AllowedPermissions { get; set; }

Property Value

ParticipantPermission

Deployment

public string Deployment { get; set; }

Property Value

string

EndpointProtocol

highest data-plane protocol version the worker supports; 0 = unsupported

public uint EndpointProtocol { get; set; }

Property Value

uint

Endpoints

HTTP endpoints this worker serves through the data plane, in route order. Empty means the worker exposes no endpoints and needs no data connections.

public RepeatedField<AgentHttp.Types.AgentEndpoint> Endpoints { get; }

Property Value

RepeatedField<AgentHttp.Types.AgentEndpoint>

HasNamespace

Gets whether the "namespace" field is set

public bool HasNamespace { get; }

Property Value

bool

InstanceId

random per process; a re-registration with a new instance_id supersedes the previous epoch and closes its remaining connections

public string InstanceId { get; set; }

Property Value

string

Namespace

public string Namespace { get; set; }

Property Value

string

PingInterval

public uint PingInterval { get; set; }

Property Value

uint

Type

public JobType Type { get; set; }

Property Value

JobType

Version

public string Version { get; set; }

Property Value

string

Methods

ClearNamespace()

Clears the value of the "namespace" field

public void ClearNamespace()