Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/dynablox_opencloud/src/clients/BaseClient.ts>BaseClientOptions

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

BaseClient options.

Properties

Basic credentials that include a type and value.

optional
environmentURLOptions: EnvironmentURLOptions

Change the environment URLs. Default for BEDEV2Url is apis.roblox.com/{0}.

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>

Aliases for strings in URLs. See more information in RESTController.ts