interface Response
implements Body
import { type Response } from "https://deno.land/x/deno@v0.28.0/cli/js/dom_types.ts";
Properties
readonly
headers: HeadersContains the Headers
object associated with the response.
Contains a boolean stating whether the response was successful (status in the range 200-299) or not.
Indicates whether or not the response is the result of a redirect; that is, its URL list has more than one entry.
Contains the status message corresponding to the status code (e.g., OK
for 200
).
readonly
trailer: Promise<Headers>readonly
type: ResponseTypeContains the type of the response (e.g., basic
, cors
).