Table of Contents

Class ShardedGatewayClientOptions

Namespace
NetCord.Hosting.Gateway
Assembly
NetCord.Hosting.dll
public class ShardedGatewayClientOptions : IDiscordOptions
Inheritance
ShardedGatewayClientOptions
Implements
Inherited Members

Constructors

ShardedGatewayClientOptions()

public ShardedGatewayClientOptions()

Properties

Cache

public IGatewayClientCache? Cache { get; set; }

Property Value

IGatewayClientCache

CacheDMChannels

public bool? CacheDMChannels { get; set; }

Property Value

bool?

CacheFactory

public Func<Shard, IGatewayClientCache?>? CacheFactory { get; set; }

Property Value

Func<Shard, IGatewayClientCache>

Compression

public IGatewayCompression? Compression { get; set; }

Property Value

IGatewayCompression

CompressionFactory

public Func<Shard, IGatewayCompression?>? CompressionFactory { get; set; }

Property Value

Func<Shard, IGatewayCompression>

ConnectionProperties

public ConnectionPropertiesProperties? ConnectionProperties { get; set; }

Property Value

ConnectionPropertiesProperties

ConnectionPropertiesFactory

public Func<Shard, ConnectionPropertiesProperties?>? ConnectionPropertiesFactory { get; set; }

Property Value

Func<Shard, ConnectionPropertiesProperties>

DefaultPayloadProperties

public WebSocketPayloadProperties? DefaultPayloadProperties { get; set; }

Property Value

WebSocketPayloadProperties

DefaultPayloadPropertiesFactory

public Func<Shard, WebSocketPayloadProperties?>? DefaultPayloadPropertiesFactory { get; set; }

Property Value

Func<Shard, WebSocketPayloadProperties>

Hostname

public string? Hostname { get; set; }

Property Value

string

Intents

public GatewayIntents? Intents { get; set; }

Property Value

GatewayIntents?

IntentsFactory

public Func<Shard, GatewayIntents?>? IntentsFactory { get; set; }

Property Value

Func<Shard, GatewayIntents?>

LargeThreshold

public int? LargeThreshold { get; set; }

Property Value

int?

LargeThresholdFactory

public Func<Shard, int?>? LargeThresholdFactory { get; set; }

Property Value

Func<Shard, int?>

LatencyTimer

public ILatencyTimer? LatencyTimer { get; set; }

Property Value

ILatencyTimer

LatencyTimerFactory

public Func<Shard, ILatencyTimer?>? LatencyTimerFactory { get; set; }

Property Value

Func<Shard, ILatencyTimer>

Presence

public PresenceProperties? Presence { get; set; }

Property Value

PresenceProperties

PresenceFactory

public Func<Shard, PresenceProperties?>? PresenceFactory { get; set; }

Property Value

Func<Shard, PresenceProperties>

PublicKey

public string? PublicKey { get; set; }

Property Value

string

RateLimiterProvider

public IRateLimiterProvider? RateLimiterProvider { get; set; }

Property Value

IRateLimiterProvider

RateLimiterProviderFactory

public Func<Shard, IRateLimiterProvider?>? RateLimiterProviderFactory { get; set; }

Property Value

Func<Shard, IRateLimiterProvider>

ReconnectStrategy

public IReconnectStrategy? ReconnectStrategy { get; set; }

Property Value

IReconnectStrategy

ReconnectStrategyFactory

public Func<Shard, IReconnectStrategy?>? ReconnectStrategyFactory { get; set; }

Property Value

Func<Shard, IReconnectStrategy>

RestClientConfiguration

public RestClientConfiguration? RestClientConfiguration { get; set; }

Property Value

RestClientConfiguration

ShardCount

public int? ShardCount { get; set; }

Property Value

int?

Token

[Required]
public string? Token { get; set; }

Property Value

string

Version

public ApiVersion? Version { get; set; }

Property Value

ApiVersion?

VersionFactory

public Func<Shard, ApiVersion?>? VersionFactory { get; set; }

Property Value

Func<Shard, ApiVersion?>

WebSocketConnectionProvider

public IWebSocketConnectionProvider? WebSocketConnectionProvider { get; set; }

Property Value

IWebSocketConnectionProvider

WebSocketConnectionProviderFactory

public Func<Shard, IWebSocketConnectionProvider?>? WebSocketConnectionProviderFactory { get; set; }

Property Value

Func<Shard, IWebSocketConnectionProvider>