UNPKG

quria

Version:

A user-friendly Destiny 2 API Wrapper written with TypeScript and approved by -Axis Minds- Oryx.

14 lines (13 loc) 431 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Controller = void 0; class Controller { static requestHandler; static async setRequestHandler(fetcher) { this.requestHandler = fetcher; } static async request(url, json = false, method = "GET", headers, body) { return this.requestHandler(url, json, method, headers, body); } } exports.Controller = Controller;