Skip to main content
Module

x/revoltio/deps.ts>REST#get

No-nonsense Revolt library for nodejs and deno.
Latest
method REST.prototype.get
import { REST } from "https://deno.land/x/revoltio@v1.0.0/deps.ts";

Type Parameters

Path extends GetRoutes["path"]
Route extends Extract<GetRoutes, { path: Path; parts: Count<Path, "/">; method: "GET"; }>

Parameters

path: Path
optional
options: Partial<APIRequest> = [UNSUPPORTED]

Returns

Promise<Route["response"]>