UNPKG

openblox

Version:

Roblox API Wrapper For Both Classic And OpenCloud APIs.

7 lines (6 loc) 511 B
import { HttpError, HttpResponse } from "../http.utils"; import type { HttpHandlerProps } from "../http.utils"; export declare const isOpenCloudUrl: (url: string) => boolean; export declare const detectBEDEVVersionForUrl: (url: string) => 1 | 2 | undefined; export declare const getParsedErrors: (response: HttpResponse) => Promise<any>; export declare const HttpHandler: <RawData extends unknown = any>({ url, method, headers, body, formData }: HttpHandlerProps) => Promise<HttpError | HttpResponse<RawData>>;