Table of Contents

Class VoiceClientConfiguration

Namespace
NetCord.Gateway.Voice
Assembly
NetCord.dll
public class VoiceClientConfiguration
Inheritance
VoiceClientConfiguration
Inherited Members

Constructors

VoiceClientConfiguration()

public VoiceClientConfiguration()

Properties

Cache

public IVoiceClientCache? Cache { get; init; }

Property Value

IVoiceClientCache

DefaultPayloadProperties

The default payload properties for WebSocket payloads. Defaults to null.

public WebSocketPayloadProperties? DefaultPayloadProperties { get; init; }

Property Value

WebSocketPayloadProperties

Encryption

public IVoiceEncryption? Encryption { get; init; }

Property Value

IVoiceEncryption

LatencyTimer

The latency timer for tracking latency of the WebSocket connection. Defaults to LatencyTimer.

public ILatencyTimer? LatencyTimer { get; init; }

Property Value

ILatencyTimer

RateLimiterProvider

The provider for WebSocket rate limiters.

public IRateLimiterProvider? RateLimiterProvider { get; init; }

Property Value

IRateLimiterProvider

ReconnectStrategy

The strategy for reconnecting the WebSocket. Defaults to ReconnectStrategy.

public IReconnectStrategy? ReconnectStrategy { get; init; }

Property Value

IReconnectStrategy

RedirectInputStreams

public bool? RedirectInputStreams { get; init; }

Property Value

bool?

UdpSocket

public IUdpSocket? UdpSocket { get; init; }

Property Value

IUdpSocket

Version

public VoiceApiVersion? Version { get; init; }

Property Value

VoiceApiVersion?

WebSocketConnectionProvider

The provider for creating WebSocket connections. Defaults to WebSocketConnectionProvider.

public IWebSocketConnectionProvider? WebSocketConnectionProvider { get; init; }

Property Value

IWebSocketConnectionProvider