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

x/discordeno_patched/rest/mod.ts>processRequestHeaders

Discord API library for Node and Deno
Latest
function processRequestHeaders
Re-export
import { processRequestHeaders } from "https://deno.land/x/discordeno_patched@18.0.3/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

url: string
headers: Headers