FetchResponse interface

Response for fetch function in BackendSrv

Signature

  1. export interface FetchResponse<T = any>

Import

  1. import { FetchResponse } from '@grafana/runtime';

Properties

PropertyTypeDescription
configBackendSrvRequest
dataT
headersHeaders
okboolean
redirectedboolean
statusnumber
statusTextstring
typeResponseType
urlstring

config property

Signature

  1. readonly config: BackendSrvRequest;

data property

Signature

  1. data: T;

headers property

Signature

  1. readonly headers: Headers;

ok property

Signature

  1. readonly ok: boolean;

redirected property

Signature

  1. readonly redirected: boolean;

status property

Signature

  1. readonly status: number;

statusText property

Signature

  1. readonly statusText: string;

type property

Signature

  1. readonly type: ResponseType;

url property

Signature

  1. readonly url: string;