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

x/lavadeno/src/rest.ts>REST#do

lavadeno is a simple, easy-to-use, and flexible lavalink client built on the Deno Runtime.
Latest
method REST.prototype.do
import { REST } from "https://deno.land/x/lavadeno@3.3.0/src/rest.ts";

Makes a request to the specified endpoint.

Parameters

endpoint: string

Endpoint to make a request to.

optional
options: RequestOptions = [UNSUPPORTED]

Options for this requests

Returns

Promise<Response>

The response.