Class VoiceClientConfiguration
public class VoiceClientConfiguration
- Inheritance
-
VoiceClientConfiguration
- Inherited Members
Constructors
VoiceClientConfiguration()
public VoiceClientConfiguration()
Properties
Cache
public IVoiceClientCache? Cache { get; init; }
Property Value
DefaultPayloadProperties
The default payload properties for WebSocket payloads. Defaults to null.
public WebSocketPayloadProperties? DefaultPayloadProperties { get; init; }
Property Value
Encryption
public IVoiceEncryption? Encryption { get; init; }
Property Value
LatencyTimer
The latency timer for tracking latency of the WebSocket connection. Defaults to LatencyTimer.
public ILatencyTimer? LatencyTimer { get; init; }
Property Value
RateLimiterProvider
The provider for WebSocket rate limiters.
public IRateLimiterProvider? RateLimiterProvider { get; init; }
Property Value
ReconnectStrategy
The strategy for reconnecting the WebSocket. Defaults to ReconnectStrategy.
public IReconnectStrategy? ReconnectStrategy { get; init; }
Property Value
RedirectInputStreams
public bool? RedirectInputStreams { get; init; }
Property Value
- bool?
UdpSocket
public IUdpSocket? UdpSocket { get; init; }
Property Value
Version
public VoiceApiVersion? Version { get; init; }
Property Value
WebSocketConnectionProvider
The provider for creating WebSocket connections. Defaults to WebSocketConnectionProvider.
public IWebSocketConnectionProvider? WebSocketConnectionProvider { get; init; }