Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/dynablox_opencloud/src/rest/RESTController.ts>RESTControllerOptions

A Roblox OpenCloud API wrapper for Deno and NodeJS written in TypeScript.
Latest
interface RESTControllerOptions
import { type RESTControllerOptions } from "https://deno.land/x/dynablox_opencloud@v0.2.2/src/rest/RESTController.ts";

RESTController constructor options.

Properties

optional
urlOptions: EnvironmentURLOptions

The environment URL options.

optional
defaultHeaders: Record<string, string> | Headers

The default headers to add to requests, values may be modified later on.

optional
fetch: (input: RequestInfo, init?: RequestInit) => Promise<Response>

Custom fetch implementation to use instead of the default fetch.

optional
aliases: Record<string, string>

String-string of aliases, see this.aliases for more info

Init client credentials.