Type Alias CommonMediaResponseBeta

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

Common response API.

Type declaration

  • Optionaldata?: any

    The response data.

  • Optionalheaders?: Record<string, string>

    The response headers.

  • Optionalredirected?: boolean

    Indicates whether or not the request was redirected.

  • request: CommonMediaRequest

    The origin request.

  • resourceTiming: ResourceTiming

    The network timing of the request/response.

  • Optionalstatus?: number

    The HTTP status code of the response.

  • OptionalstatusText?: string

    The status message corresponding to the HTTP status code.

  • Optionaltype?: string

    The type of the response.

  • Optionalurl?: string

    The final URL obtained after any redirects.