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

  • Optional Betadata?: any

    The response data.

  • Optional Betaheaders?: Record<string, string>

    The response headers.

  • Optional Betaredirected?: boolean

    Indicates whether or not the request was redirected.

  • Betarequest: CommonMediaRequest

    The origin request.

  • BetaresourceTiming: ResourceTiming

    The network timing of the request/response.

  • Optional Betastatus?: number

    The HTTP status code of the response.

  • Optional BetastatusText?: string

    The status message corresponding to the HTTP status code.

  • Optional Betatype?: string

    The type of the response.

  • Optional Betaurl?: string

    The final URL obtained after any redirects.