Constructor GatewayClient
- Namespace
- DSharpPlus.Net.Gateway
- Assembly
- DSharpPlus.dll
GatewayClient(Channel<GatewayPayload>, ITransportService, IOptions<TokenContainer>, PayloadDecompressor, IOptions<GatewayClientOptions>, IGatewayController, ILoggerFactory)
public GatewayClient(Channel<GatewayPayload> eventChannel, ITransportService transportService, IOptions<TokenContainer> tokenContainer, PayloadDecompressor decompressor, IOptions<GatewayClientOptions> options, IGatewayController controller, ILoggerFactory factory)
Parameters
eventChannel
Channel<GatewayPayload>transportService
ITransportServicetokenContainer
IOptions<TokenContainer>decompressor
PayloadDecompressoroptions
IOptions<GatewayClientOptions>controller
IGatewayControllerfactory
ILoggerFactory