Preparing search index...
The search index is not available
TouchGuild
TouchGuild
RequestHandler
RequestHandler
Class RequestHandler
Index
Constructors
constructor
Properties
global
Block
latency
Ref
options
ratelimits
ready
Queue
Methods
auth
Request
request
Constructors
constructor
new
Request
Handler
(
manager
,
options
?
)
:
RequestHandler
Parameters
manager
:
RESTManager
options
:
RESTOptions
= {}
Returns
RequestHandler
Properties
global
Block
global
Block
:
boolean
= false
latency
Ref
latency
Ref
:
LatencyRef
options
options
:
{
agent
:
undefined
|
null
|
Agent
;
baseURL
:
string
;
disableLatencyCompensation
:
boolean
;
host
:
string
;
latencyThreshold
:
number
;
ratelimiterOffset
:
number
;
requestTimeout
:
number
;
userAgent
:
undefined
|
string
;
}
ratelimits
ratelimits
:
Record
<
string
,
SequentialBucket
>
= {}
ready
Queue
ready
Queue
:
(
(
)
=>
void
)
[]
= []
Methods
auth
Request
auth
Request
<
T
>
(
options
)
:
Promise
<
T
>
Type Parameters
T
=
unknown
Parameters
options
:
Omit
<
RequestOptions
,
"auth"
>
Returns
Promise
<
T
>
request
request
<
T
>
(
options
)
:
Promise
<
T
>
Type Parameters
T
=
unknown
Parameters
options
:
RequestOptions
Returns
Promise
<
T
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
global
Block
latency
Ref
options
ratelimits
ready
Queue
Methods
auth
Request
request
TouchGuild
Loading...