Skip to main content
Module

x/ptereno/lib/models/HTTPClient.ts>default#request

An efficient and fully compliant Pterodactyl API wrapper.
Latest
method default.prototype.request
import { default } from "https://deno.land/x/ptereno@v1.0.1/lib/models/HTTPClient.ts";

Makes an HTTP request to a specific endpoint.

Type Parameters

optional
T = null

Parameters

method: MethodType

The request method

url: string

The request url

optional
options: RequestOptions

The request options

Returns

Promise<T>