Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/discordeno/rest/mod.ts>processRequestHeaders

Discord API library for Deno
Go to Latest
function processRequestHeaders
Re-export
import { processRequestHeaders } from "https://deno.land/x/discordeno@17.0.0/rest/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