Class GatewayClientOptions
- Namespace
- NetCord.Hosting.Gateway
- Assembly
- NetCord.Hosting.dll
public class GatewayClientOptions : IDiscordOptions
- Inheritance
-
GatewayClientOptions
- Implements
-
- Inherited Members
-
Constructors
GatewayClientOptions()
public GatewayClientOptions()
Properties
Cache
public IGatewayClientCache? Cache { get; set; }
Property Value
- IGatewayClientCache
CacheDMChannels
public bool? CacheDMChannels { get; set; }
Property Value
- bool?
Compression
public IGatewayCompression? Compression { get; set; }
Property Value
- IGatewayCompression
ConnectionProperties
public ConnectionPropertiesProperties? ConnectionProperties { get; set; }
Property Value
- ConnectionPropertiesProperties
DefaultPayloadProperties
public WebSocketPayloadProperties? DefaultPayloadProperties { get; set; }
Property Value
- WebSocketPayloadProperties
Hostname
public string? Hostname { get; set; }
Property Value
- string
Intents
public GatewayIntents? Intents { get; set; }
Property Value
- GatewayIntents?
LargeThreshold
public int? LargeThreshold { get; set; }
Property Value
- int?
LatencyTimer
public ILatencyTimer? LatencyTimer { get; set; }
Property Value
- ILatencyTimer
Presence
public PresenceProperties? Presence { get; set; }
Property Value
- PresenceProperties
PublicKey
public string? PublicKey { get; set; }
Property Value
- string
RateLimiterProvider
public IRateLimiterProvider? RateLimiterProvider { get; set; }
Property Value
- IRateLimiterProvider
ReconnectStrategy
public IReconnectStrategy? ReconnectStrategy { get; set; }
Property Value
- IReconnectStrategy
RestClientConfiguration
public RestClientConfiguration? RestClientConfiguration { get; set; }
Property Value
- RestClientConfiguration
Shard
public Shard? Shard { get; set; }
Property Value
- Shard?
Token
[Required]
public string? Token { get; set; }
Property Value
- string
Version
public ApiVersion? Version { get; set; }
Property Value
- ApiVersion?
WebSocketConnectionProvider
public IWebSocketConnectionProvider? WebSocketConnectionProvider { get; set; }
Property Value
- IWebSocketConnectionProvider