Skip to content

FetchOptions🔗

Definition🔗

export interface FetchOptions {
    method: dashboardv2beta1.HttpRequestMethod;
    url: string;
    body?: string;
    // These are 2D arrays of strings, each representing a key-value pair
    // We are defining them this way because we can't generate a go struct that
    // that would have exactly two strings in each sub-array
    queryParams?: string[][];
    headers?: string[][];
}

See also🔗