Skip to content

WebSocketShardOptions

Package: @erinjs/ws

Properties

NameTypeReadonlyOptionalDescription
intentsnumberNoNo
numShardsnumberNoNo
presenceGatewayPresenceUpdateDataNoYes
shardIdnumberNoNo
tokenstringNoNo
urlstringNoNo
versionstringNoYesGateway API version (e.g. "1" for erin.js). Defaults to "1" when not set.
WebSocketWebSocketConstructorNoYes

Released under the Apache-2.0 License.