Latest
interface CreateRestManagerOptions
import { type CreateRestManagerOptions } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/helpers/deps.ts";

Properties

token: string
optional
customUrl: string
optional
maxRetryCount: number
optional
version: number
optional
secretKey: string
optional
debug: (text: string) => unknown
optional
checkRateLimits: checkRateLimits
optional
cleanupQueues: cleanupQueues
optional
processQueue: processQueue
optional
processRateLimitedPaths: processRateLimitedPaths
optional
processRequestHeaders: processRequestHeaders
optional
processRequest: processRequest
optional
createRequestBody: createRequestBody
optional
runMethod: runMethod
optional
simplifyUrl: simplifyUrl
optional
processGlobalQueue: processGlobalQueue
optional
convertRestError: convertRestError
optional
sendRequest: sendRequest
optional
fetching: (options: RestSendRequestOptions) => void
optional
fetched: (options: RestSendRequestOptions, response: Response) => void
import CreateRestManagerOptions
import { CreateRestManagerOptions } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/helpers/deps.ts";