/
docs
/
packages
/
rest
/
1.4.0
/
parseResponse%3AFunction
Search...
K
rest
discord.js
brokers
builders
collection
core
formatters
next
proxy
rest
util
voice
ws
1.4.0
main
2.4.2
2.4.1
2.4.0
2.3.0
2.2.0
2.1.0
2.0.1
2.0.0
1.7.1
1.7.0
1.6.0
1.5.0
1.4.0
1.3.0
1.2.0
1.1.0
1.0.1
1.0.0
Classes
CDN
DiscordAPIError
HTTPError
RateLimitError
RequestManager
REST
Functions
makeURLSearchParams
parseResponse
Enums
RequestMethod
RESTEvents
Interfaces
APIRequest
BaseImageURLOptions
DiscordErrorData
ImageURLOptions
InvalidRequestWarningData
MakeURLOptions
OAuthErrorData
RateLimitData
RawFile
RequestBody
RequestData
RequestHeaders
RequestManager
REST
RestEvents
RESTOptions
Types
HandlerRequestData
ImageExtension
ImageSize
RateLimitQueueFilter
RequestOptions
RouteLike
StickerExtension
Variables
ALLOWED_EXTENSIONS
ALLOWED_SIZES
ALLOWED_STICKER_EXTENSIONS
DefaultRestOptions
DefaultUserAgent
version
parseResponse
declare function
parseResponse
(
res
:
Dispatcher
.
ResponseData
)
:
Promise
<
unknown
>;
declare function
parseResponse
(res
:
Dispatcher
.
ResponseData
)
:
Promise
<
unknown
>;
Summary
Converts the response to usable data
Parameters
Name
Type
Optional
Description
res
Dispatcher.ResponseData
No
The fetch response