Interface CommonMediaResponseBeta

Common response API.

interface CommonMediaResponse {
    data?: any;
    headers?: Record<string, string>;
    redirected?: boolean;
    request: CommonMediaRequest;
    resourceTiming: ResourceTiming;
    status?: number;
    statusText?: string;
    type?: string;
    url?: string;
}

Properties

data?: any

The response data.

headers?: Record<string, string>

The response headers.

redirected?: boolean

Indicates whether or not the request was redirected.

The origin request.

resourceTiming: ResourceTiming

The network timing of the request/response.

status?: number

The HTTP status code of the response.

statusText?: string

The status message corresponding to the HTTP status code.

type?: string

The type of the response.

url?: string

The final URL obtained after any redirects.