ThemeParks.wiki Parks API - v2.0.0
    Preparing search index...

    Interface HTTPObj

    interface HTTPObj {
        body?: any;
        headers?: Record<string, string>;
        method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS";
        ok: boolean;
        onArrayBuffer: ((data: ArrayBuffer) => void) | null;
        onBlob: ((data: Blob) => void) | null;
        onJson: ((data: any) => void) | null;
        onText: ((data: string) => void) | null;
        options?: HTTPOptions;
        queryParams?: Record<string, string>;
        response?: Response;
        status: number;
        tags: string[];
        url: string;
        arrayBuffer(): Promise<ArrayBuffer>;
        blob(): Promise<Blob>;
        clone(): HTTPObj;
        json(): Promise<any>;
        text(): Promise<string>;
    }
    Index

    Properties

    body?: any
    headers?: Record<string, string>
    method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS"
    ok: boolean
    onArrayBuffer: ((data: ArrayBuffer) => void) | null
    onBlob: ((data: Blob) => void) | null
    onJson: ((data: any) => void) | null
    onText: ((data: string) => void) | null
    options?: HTTPOptions
    queryParams?: Record<string, string>
    response?: Response
    status: number
    tags: string[]
    url: string

    Methods

    • Returns Promise<ArrayBuffer>

    • Returns Promise<string>