Search
Preparing search index...
The search index is not available
yuuko
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
yuuko
Eris
RequestHandler
Class RequestHandler
Hierarchy
RequestHandler
Implements
SimpleJSON
Index
Constructors
constructor
Properties
global
Block
latency
Ref
options
ratelimits
ready
Queue
user
Agent
Methods
global
Unblock
request
routefy
toJSON
to
String
Constructors
constructor
new
Request
Handler
(
client
:
Client
, options
?:
RequestHandlerOptions
)
:
RequestHandler
new
Request
Handler
(
client
:
Client
, forceQueueing
?:
boolean
)
:
RequestHandler
Parameters
client:
Client
Optional
options:
RequestHandlerOptions
Returns
RequestHandler
deprecated
Parameters
client:
Client
Optional
forceQueueing:
boolean
Returns
RequestHandler
Properties
global
Block
global
Block
:
boolean
latency
Ref
latency
Ref
:
LatencyRef
options
options
:
RequestHandlerOptions
ratelimits
ratelimits
:
{}
Type declaration
[
route:
string
]:
SequentialBucket
ready
Queue
ready
Queue
:
(
(
)
=>
void
)
[]
user
Agent
user
Agent
:
string
Methods
global
Unblock
global
Unblock
(
)
:
void
Returns
void
request
request
(
method
:
RequestMethod
, url
:
string
, auth
?:
boolean
, body
?:
{}
, file
?:
MessageFile
, _route
?:
string
, short
?:
boolean
)
:
Promise
<
unknown
>
Parameters
method:
RequestMethod
url:
string
Optional
auth:
boolean
Optional
body:
{}
[
s:
string
]:
unknown
Optional
file:
MessageFile
Optional
_route:
string
Optional
short:
boolean
Returns
Promise
<
unknown
>
routefy
routefy
(
url
:
string
, method
:
RequestMethod
)
:
string
Parameters
url:
string
method:
RequestMethod
Returns
string
toJSON
toJSON
(
props
?:
string
[]
)
:
JSONCache
Parameters
Optional
props:
string
[]
Returns
JSONCache
to
String
to
String
(
)
:
string
Returns
string
Exports
Externals
Eris
Request
Handler
constructor
global
Block
latency
Ref
options
ratelimits
ready
Queue
user
Agent
global
Unblock
request
routefy
toJSON
to
String
Generated using
TypeDoc