gluon
Preparing search index...
src/gateway
default
Class default
Index
Constructors
constructor
Properties
shard
terminate
Socket
Timeout
zlib?
Accessors
resume
Gateway
Url
session
Id
Methods
check
get
Session
Data
halt
jitter
reset
Retries
update
Presence
Constructors
constructor
new
default
(
client
:
Client
,
token
:
string
,
url
:
string
,
shardId
:
number
,
sessionId
?:
null
|
string
,
sequence
?:
null
|
number
,
resumeGatewayUrl
?:
null
|
string
,
)
:
default
Parameters
client
:
Client
token
:
string
url
:
string
shardId
:
number
sessionId
:
null
|
string
= null
sequence
:
null
|
number
= null
resumeGatewayUrl
:
null
|
string
= null
Returns
default
Properties
shard
shard
:
number
terminate
Socket
Timeout
terminateSocketTimeout
:
null
|
Timeout
= null
Optional
zlib
zlib
?:
Inflate
Accessors
resume
Gateway
Url
set
resumeGatewayUrl
(
url
:
string
)
:
void
Parameters
url
:
string
Returns
void
session
Id
set
sessionId
(
id
:
string
)
:
void
Parameters
id
:
string
Returns
void
Methods
check
check
()
:
{
lastReconnect
:
any
;
latency
:
number
;
shard
:
number
;
websocketState
:
any
;
}
Returns
{
lastReconnect
:
any
;
latency
:
number
;
shard
:
number
;
websocketState
:
any
}
get
Session
Data
getSessionData
()
:
{
resumeGatewayUrl
:
null
|
string
;
sequence
:
null
|
number
;
sessionId
:
null
|
string
;
}
Returns
{
resumeGatewayUrl
:
null
|
string
;
sequence
:
null
|
number
;
sessionId
:
null
|
string
;
}
halt
halt
()
:
void
Returns
void
jitter
jitter
()
:
number
Returns
number
reset
Retries
resetRetries
()
:
void
Returns
void
update
Presence
updatePresence
(
name
:
string
,
type
?:
ActivityType
,
status
?:
PresenceUpdateStatus
,
afk
?:
boolean
,
since
?:
null
|
number
,
)
:
void
Parameters
name
:
string
Optional
type
:
ActivityType
Optional
status
:
PresenceUpdateStatus
Optional
afk
:
boolean
Optional
since
:
null
|
number
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
shard
terminate
Socket
Timeout
zlib
Accessors
resume
Gateway
Url
session
Id
Methods
check
get
Session
Data
halt
jitter
reset
Retries
update
Presence
gluon
Loading...