/
docs
/
packages
/
proxy
/
main
/
RequestHandler%3ATypeAlias
Search...
K
proxy
discord.js
brokers
builders
collection
core
formatters
next
proxy
rest
util
voice
ws
main
main
Functions
populateAbortErrorResponse
populateErrorResponse
populateGeneralErrorResponse
populateRatelimitErrorResponse
populateSuccessfulResponse
proxyRequests
Types
RequestHandler
Variables
version
RequestHandler
export type
RequestHandler
=
(
req
:
IncomingMessage
,
res
:
ServerResponse
)
=>
Awaitable
<
void
>;
export type
RequestHandler
=
(req
:
IncomingMessage
,
res
:
ServerResponse
)
=>
Awaitable
<
void
>;
Summary
Represents a simple HTTP request handler