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