export interface Gateway
Gateway-like structure that can be used to interact with an actual WebSocket connection. You can provide a custom implementation, useful for running a message broker between your app and your gateway, or you can simply use the WebSocketManager.
onlistener: (...params: ManagerShardEventsMap[WebSocketShardEvents.Dispatch]) => Awaitable<void>) : this (
listener: (...params: ManagerShardEventsMap[WebSocketShardEvents.Dispatch]) => Awaitable<void>
sendshardId: numberpayload: GatewaySendPayload) : Awaitable<void> (
shardId: number
payload: GatewaySendPayload