type GetUrlResponse: {
  "body": null | Uint8Array;
  "headers": Record<string, string>;
  "statusCode": number;
  "statusMessage": string;
};

An environment’s implementation of getUrl must return this type.

Type declaration

body

body: null | Uint8Array;

headers

headers: Record<string, string>;

statusCode

statusCode: number;

statusMessage

statusMessage: string;

Source

utils/fetch.ts:29