Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/coward/src/network/rest/RequestHandler.ts>RequestHandler#request

🐔 Coward is a Deno module for easy interaction with the Discord API.
Latest
method RequestHandler.prototype.request
import { RequestHandler } from "https://deno.land/x/coward@v0.3.2/src/network/rest/RequestHandler.ts";

Parameters

method: string
url: string
optional
data: any
optional
attempts: number = [UNSUPPORTED]

Returns

Promise<any>