Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/discordeno/mod.ts>processRequestHeaders

Discord API library for Deno
Extremely Popular
Go to Latest
function processRequestHeaders
Re-export
import { processRequestHeaders } from "https://deno.land/x/discordeno@17.2.0/mod.ts";

Processes the rate limit headers and determines if it needs to be rate limited and returns the bucket id if available

Parameters

rest: RestManager
url: string
headers: Headers