Constructor GatewayClient
- Namespace
- DSharpPlus.Net.Gateway
- Assembly
- DSharpPlus.dll
GatewayClient(Channel<GatewayPayload>, ITransportService, IOptions<TokenContainer>, IPayloadDecompressor, IOptions<GatewayClientOptions>, ILoggerFactory)
public GatewayClient(Channel<GatewayPayload> eventChannel, ITransportService transportService, IOptions<TokenContainer> tokenContainer, IPayloadDecompressor decompressor, IOptions<GatewayClientOptions> options, ILoggerFactory factory)
Parameters
eventChannelChannel<GatewayPayload>transportServiceITransportServicetokenContainerIOptions<TokenContainer>decompressorIPayloadDecompressoroptionsIOptions<GatewayClientOptions>factoryILoggerFactory