@evolvejs/core
Version:
An advanced Discord API wrapper with TS and JS support
21 lines (20 loc) • 515 B
TypeScript
import { RestAPIHandler } from "./RestAPIHandler";
import { EvolveClient } from "../EvolveClient";
/**
* RestAPI Class
*
* @param {client} - Your EvolveClient
*/
export declare class RestAPI {
private _client;
private _handler;
constructor(client: EvolveClient);
/**
*
* @param endpoint
* Gets a Handler for the specific endpoint or creates a new one
*/
endpoint(endpoint: string): RestAPIHandler;
get active(): boolean;
get activeRequests(): RestAPIHandler[];
}