interface Gateway

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.

getShardCount() : Awaitable<number>

send(
shardId: number
) : Awaitable<void>