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
otherRegisterWorkerRequest
Properties
AgentName
public string AgentName { get; set; }
Property Value
AllowedPermissions
public ParticipantPermission AllowedPermissions { get; set; }
Property Value
Deployment
public string Deployment { get; set; }
Property Value
EndpointProtocol
highest data-plane protocol version the worker supports; 0 = unsupported
public uint EndpointProtocol { get; set; }
Property Value
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
HasNamespace
Gets whether the "namespace" field is set
public bool HasNamespace { get; }
Property Value
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
Namespace
public string Namespace { get; set; }
Property Value
PingInterval
public uint PingInterval { get; set; }
Property Value
Type
public JobType Type { get; set; }
Property Value
Version
public string Version { get; set; }
Property Value
Methods
ClearNamespace()
Clears the value of the "namespace" field
public void ClearNamespace()